Class DefaultSAMLService

  • All Implemented Interfaces:
    SAMLService

    public class DefaultSAMLService
    extends java.lang.Object
    implements SAMLService
    Default implementation of the SAMLService interface.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCustomAttribute​(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.String getLanguage​(org.springframework.security.saml.SAMLCredential credential, javax.servlet.http.HttpServletRequest request, CommonI18NService commonI18NService)
      Getter for the language.
      java.lang.String getUserId​(org.springframework.security.saml.SAMLCredential credential)
      Getter for the User ID.
      java.lang.String getUserName​(org.springframework.security.saml.SAMLCredential credential)
      Getter for the User Name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSAMLService

        public DefaultSAMLService()
    • Method Detail

      • getUserId

        public java.lang.String getUserId​(org.springframework.security.saml.SAMLCredential credential)
        Description copied from interface: SAMLService
        Getter for the User ID.
        Specified by:
        getUserId in interface SAMLService
        Parameters:
        credential - samlCredential
        Returns:
        userId
      • getUserName

        public java.lang.String getUserName​(org.springframework.security.saml.SAMLCredential credential)
        Description copied from interface: SAMLService
        Getter for the User Name.
        Specified by:
        getUserName in interface SAMLService
        Parameters:
        credential - samlCredential
        Returns:
        userName
      • getCustomAttribute

        public java.lang.String getCustomAttribute​(org.springframework.security.saml.SAMLCredential credential,
                                                   java.lang.String attributeName)
        Description copied from interface: SAMLService
        Getter for a custom attribute.
        Specified by:
        getCustomAttribute in interface SAMLService
        Parameters:
        credential - samlCredential
        attributeName - attributeName
        Returns:
        customAttribute
      • getCustomAttributes

        public java.util.List<java.lang.String> getCustomAttributes​(org.springframework.security.saml.SAMLCredential credential,
                                                                    java.lang.String attributeName)
        Description copied from interface: SAMLService
        Getter for custom attributes.
        Specified by:
        getCustomAttributes in interface SAMLService
        Parameters:
        credential - samlCredential
        attributeName - attributeName
        Returns:
        customAttributes
      • getLanguage

        public java.lang.String getLanguage​(org.springframework.security.saml.SAMLCredential credential,
                                            javax.servlet.http.HttpServletRequest request,
                                            CommonI18NService commonI18NService)
        Description copied from interface: SAMLService
        Getter for the language.
        Specified by:
        getLanguage in interface SAMLService
        Parameters:
        credential - samlCredential
        request - httpsServletrequest
        commonI18NService - commonI18NService
        Returns:
        language