Class SamlConstants

java.lang.Object
com.atlassian.crowd.saml.SamlConstants

public final class SamlConstants extends Object
Contains constants used by Crowd when being a SAML Identity Provider
Since:
3.4.0
  • Field Details

    • CROWD_ATTRIBUTES_PREFIX

      public static final String CROWD_ATTRIBUTES_PREFIX
      The prefix used for all custom Crowd Attributes in the SAML Assertion, both related to the Assertion's Subject, as well as other misc ones
      See Also:
    • CROWD_MISC_PROPERTIES_PREFIX

      public static final String CROWD_MISC_PROPERTIES_PREFIX
      The prefix used for all SAML Assertion attributes that are not directly related to the Assertion's Subject
      See Also:
    • REMEMBER_ME_ATTRIBUTE_NAME

      public static final String REMEMBER_ME_ATTRIBUTE_NAME
      The attribute used for establishing a Remember Me session. A value of 'true' means that Crowd has issued a Remember Me cookie for the authenticated user. This also means that the consumer of the assertion should issue a Remember Me cookie for the authenticated user if possible.
      See Also:
    • PLUGIN_CONSUMER_SUFFIX

      public static final String PLUGIN_CONSUMER_SUFFIX
      Suffix of plugin's SAML consumer URL.
      See Also:
  • Method Details

    • isPluginConsumerUrl

      public static boolean isPluginConsumerUrl(String samlConsumerUrl)
      Returns whether provided samlConsumerUrl matches plugin's SAML consumer URL suffix.