public interface SAMLUtil
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getCustomAttribute(SAMLCredential credential,
java.lang.String attributeName)
return a custom attribute value
|
<T> java.util.List<T> |
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
|
java.lang.String getUserId(SAMLCredential credential)
credential - the credential that has the user Id datajava.lang.String getUserName(SAMLCredential credential)
credential - the credential that has the user name data<T> java.util.List<T> getCustomAttributes(SAMLCredential credential,
java.lang.String attributeName)
credential - the credential that has the list dataattributeName - attribute to retrieve its value<T> T getCustomAttribute(SAMLCredential credential,
java.lang.String attributeName)
credential - the credential that has the dataattributeName - attribute to retrieve its valueCopyright © 2018 SAP SE. All Rights Reserved.