Class SamlCredential

java.lang.Object
org.codelibs.fess.app.web.base.login.SamlCredential
All Implemented Interfaces:
FessCredential, org.lastaflute.web.login.credential.LoginCredential

public class SamlCredential extends Object implements org.lastaflute.web.login.credential.LoginCredential, FessCredential
Credential for SAML authentication.
  • Constructor Details

    • SamlCredential

      public SamlCredential(org.codelibs.saml2.Auth auth)
      Constructor.
      Parameters:
      auth - The SAML authentication.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getUserId

      public String getUserId()
      Description copied from interface: FessCredential
      Gets the user ID for this credential.
      Specified by:
      getUserId in interface FessCredential
      Returns:
      The user ID.
    • getUser

      public SamlCredential.SamlUser getUser()
      Gets the SAML user.
      Returns:
      The SAML user.
    • getDefaultGroupsAsArray

      protected String[] getDefaultGroupsAsArray()
      Gets the default groups as an array.
      Returns:
      The default groups as an array.
    • getDefaultRolesAsArray

      protected String[] getDefaultRolesAsArray()
      Gets the default roles as an array.
      Returns:
      The default roles as an array.