public class UserInfo extends Object implements Serializable
KShieldClient
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
UserInfo.AuthType
Supported authentication types returned by KeyShield SSO Server
|
static class |
UserInfo.ClientInfo |
Modifier and Type | Field and Description |
---|---|
static EnumSet<UserInfo.AuthType> |
DEFAULT_ALLOWED_AUTH_TYPES |
Constructor and Description |
---|
UserInfo() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getAttributes() |
String |
getAttributeValue(String attributeName) |
List<String> |
getAttributeValues(String attributeName) |
String |
getAuthMethod() |
UserInfo.AuthType |
getAuthType() |
String |
getClient() |
UserInfo.ClientInfo |
getClientInfo() |
String |
getConnectorID() |
String |
getGUID() |
String |
getIpAddress() |
String |
getScreenName() |
String |
getUserID() |
String |
getUsername() |
String |
getUsernameAttribute() |
boolean |
isHwSwitching() |
boolean |
isHwTokenEnabled() |
boolean |
isHwTokenPresent() |
void |
setUsernameAttribute(String usernameAttribute)
Set name of username attribute, if null screenName is used as username
|
String |
toString() |
public static final EnumSet<UserInfo.AuthType> DEFAULT_ALLOWED_AUTH_TYPES
public UserInfo()
public Map<String,List<String>> getAttributes()
public String getAttributeValue(String attributeName)
attributeName
- public List<String> getAttributeValues(String attributeName)
attributeName
- public String getAuthMethod()
public UserInfo.AuthType getAuthType()
UserInfo.AuthType
for more info.public UserInfo.ClientInfo getClientInfo()
public String getConnectorID()
public String getIpAddress()
public String getScreenName()
public String getUserID()
public String getUsername()
public String getUsernameAttribute()
public boolean isHwSwitching()
public boolean isHwTokenEnabled()
public boolean isHwTokenPresent()
public void setUsernameAttribute(String usernameAttribute)
Copyright © 2013 TDP Ltd. All Rights Reserved.