Interface NameIDPolicy

All Superinterfaces:
XmlSerializable

@SupportedAll public interface NameIDPolicy extends XmlSerializable
This interface defines methods to retrieve name identifier related properties.
  • Method Details

    • getFormat

      String getFormat()
      Returns the value of Format attribute.
      Returns:
      the value of Format attribute.
      See Also:
    • setFormat

      void setFormat(String uri) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the value of the Format attribute.
      Parameters:
      uri - the new value of Format attribute.
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also:
    • getSPNameQualifier

      String getSPNameQualifier()
      Returns the value of the SPNameQualifier attribute.
      Returns:
      the value of SPNameQualifier attribute.
      See Also:
    • setSPNameQualifier

      void setSPNameQualifier(String spNameQualifier) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the value of SPNameQualifier attribute.
      Parameters:
      spNameQualifier - new value of SPNameQualifier attribute.
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also:
    • setAllowCreate

      void setAllowCreate(boolean allowCreate) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the value of AllowCreate attribute.
      Parameters:
      allowCreate - the new value of AllowCreate attribute.
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
    • isAllowCreate

      boolean isAllowCreate()
      Returns true if the identity provider is allowed to create a new identifier to represent the principal.
      Returns:
      value of AllowCreate attribute.
    • makeImmutable

      void makeImmutable()
      Makes this object immutable.
    • isMutable

      boolean isMutable()
      Returns true if object is mutable.
      Returns:
      true if object is mutable.