|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.rs.security.oauth2.common.UserSubject
public class UserSubject
Represents a login name which AuthorizationService may capture after the end user approved a given third party request
Constructor Summary | |
---|---|
UserSubject()
|
|
UserSubject(String login)
|
|
UserSubject(String login,
List<String> roles)
|
Method Summary | |
---|---|
String |
getLogin()
Return the user login name |
List<String> |
getRoles()
Return the optional list of user roles which may have been captured during the authentication process |
void |
setLogin(String login)
Set the user login name |
void |
setRoles(List<String> roles)
Set the optional list of user roles which may have been captured during the authentication process |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserSubject()
public UserSubject(String login)
public UserSubject(String login, List<String> roles)
Method Detail |
---|
public String getLogin()
public void setLogin(String login)
login
- the login namepublic List<String> getRoles()
public void setRoles(List<String> roles)
roles
- the list of roles
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |