@Entity public class UserSubject extends Object implements Serializable
Constructor and Description |
---|
UserSubject() |
UserSubject(String login) |
UserSubject(String login,
List<String> roles) |
UserSubject(String login,
String id) |
UserSubject(String login,
String id,
List<String> roles) |
UserSubject(UserSubject sub) |
Modifier and Type | Method and Description |
---|---|
AuthenticationMethod |
getAuthenticationMethod() |
String |
getId()
Get the user's unique id
|
String |
getLogin()
Return the user login name
|
Map<String,String> |
getProperties()
Get the list of additional user subject properties
|
List<String> |
getRoles()
Return the optional list of user roles which may have
been captured during the authentication process
|
void |
setAuthenticationMethod(AuthenticationMethod method) |
void |
setId(String id)
Set the users unique id
|
void |
setLogin(String login)
Set the user login name
|
void |
setProperties(Map<String,String> properties)
Set the list of additional user subject properties
|
void |
setRoles(List<String> roles)
Set the optional list of user roles which may have
been captured during the authentication process
|
public UserSubject()
public UserSubject(String login)
public UserSubject(UserSubject sub)
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 rolespublic Map<String,String> getProperties()
public void setProperties(Map<String,String> properties)
properties
- the propertiespublic String getId()
public void setId(String id)
id
- the user's idpublic AuthenticationMethod getAuthenticationMethod()
public void setAuthenticationMethod(AuthenticationMethod method)
Apache CXF