Interface SAMLService
-
- All Known Implementing Classes:
DefaultSAMLService
public interface SAMLServiceInterface for SAML utility methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCustomAttribute(org.springframework.security.saml.SAMLCredential credential, java.lang.String attributeName)Getter for a custom attribute.java.util.List<java.lang.String>getCustomAttributes(org.springframework.security.saml.SAMLCredential credential, java.lang.String attributeName)Getter for custom attributes.java.lang.StringgetLanguage(org.springframework.security.saml.SAMLCredential credential, javax.servlet.http.HttpServletRequest request, CommonI18NService commonI18NService)Getter for the language.java.lang.StringgetUserId(org.springframework.security.saml.SAMLCredential credential)Getter for the User ID.java.lang.StringgetUserName(org.springframework.security.saml.SAMLCredential credential)Getter for the User Name.
-
-
-
Method Detail
-
getUserId
java.lang.String getUserId(org.springframework.security.saml.SAMLCredential credential)
Getter for the User ID.- Parameters:
credential- samlCredential- Returns:
- userId
-
getUserName
java.lang.String getUserName(org.springframework.security.saml.SAMLCredential credential)
Getter for the User Name.- Parameters:
credential- samlCredential- Returns:
- userName
-
getCustomAttribute
java.lang.String getCustomAttribute(org.springframework.security.saml.SAMLCredential credential, java.lang.String attributeName)Getter for a custom attribute.- Parameters:
credential- samlCredentialattributeName- attributeName- Returns:
- customAttribute
-
getCustomAttributes
java.util.List<java.lang.String> getCustomAttributes(org.springframework.security.saml.SAMLCredential credential, java.lang.String attributeName)Getter for custom attributes.- Parameters:
credential- samlCredentialattributeName- attributeName- Returns:
- customAttributes
-
getLanguage
java.lang.String getLanguage(org.springframework.security.saml.SAMLCredential credential, javax.servlet.http.HttpServletRequest request, CommonI18NService commonI18NService)Getter for the language.- Parameters:
credential- samlCredentialrequest- httpsServletrequestcommonI18NService- commonI18NService- Returns:
- language
-
-