Interface SAMLService

All Known Implementing Classes:
DefaultSAMLService

public interface SAMLService
Interface for SAML utility methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    getCustomAttribute(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal, String attributeName)
    Getter for a custom attribute.
    getCustomAttributes(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal, String attributeName)
    Getter for custom attributes.
    getLanguage(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal, javax.servlet.http.HttpServletRequest request, CommonI18NService commonI18NService)
    Getter for the language.
    getUserId(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal)
    Getter for the User ID.
    getUserName(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal)
    Getter for the User Name.
  • Method Details

    • getUserId

      String getUserId(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal)
      Getter for the User ID.
      Parameters:
      authenticatedPrincipal - samlAuthenticatedPrincipal
      Returns:
      userId
    • getUserName

      String getUserName(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal)
      Getter for the User Name.
      Parameters:
      authenticatedPrincipal - samlAuthenticatedPrincipal
      Returns:
      userName
    • getCustomAttribute

      String getCustomAttribute(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal, String attributeName)
      Getter for a custom attribute.
      Parameters:
      authenticatedPrincipal - samlAuthenticatedPrincipal
      attributeName - attributeName
      Returns:
      customAttribute
    • getCustomAttributes

      List<String> getCustomAttributes(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal, String attributeName)
      Getter for custom attributes.
      Parameters:
      authenticatedPrincipal - samlAuthenticatedPrincipal
      attributeName - attributeName
      Returns:
      customAttributes
    • getLanguage

      String getLanguage(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal authenticatedPrincipal, javax.servlet.http.HttpServletRequest request, CommonI18NService commonI18NService)
      Getter for the language.
      Parameters:
      authenticatedPrincipal - samlAuthenticatedPrincipal
      request - httpsServletrequest
      commonI18NService - commonI18NService
      Returns:
      language