| Constructor and Description |
|---|
DefaultSAMLUtil() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCustomAttribute(SAMLCredential credential,
java.lang.String attributeName)
return a custom attribute value
|
java.util.List<java.lang.String> |
getCustomAttributes(SAMLCredential credential,
java.lang.String attributeName)
return a custom attribute list value
|
java.lang.String |
getUserId(SAMLCredential credential)
retrieve the userId from SAML assertion
|
java.lang.String |
getUserName(SAMLCredential credential)
retrieve user name
|
public java.lang.String getUserId(SAMLCredential credential)
SAMLUtilpublic java.lang.String getUserName(SAMLCredential credential)
SAMLUtilgetUserName in interface SAMLUtilcredential - the credential that has the user name datapublic java.lang.String getCustomAttribute(SAMLCredential credential,
java.lang.String attributeName)
SAMLUtilgetCustomAttribute in interface SAMLUtilcredential - the credential that has the dataattributeName - attribute to retrieve its valuepublic java.util.List<java.lang.String> getCustomAttributes(SAMLCredential credential,
java.lang.String attributeName)
SAMLUtilgetCustomAttributes in interface SAMLUtilcredential - the credential that has the list dataattributeName - attribute to retrieve its valueCopyright © 2018 SAP SE. All Rights Reserved.