Interface UserNameToken

All Superinterfaces:
Token
All Known Implementing Classes:
UsernameToken

public interface UserNameToken extends Token
Represents UsernameToken Assertion
Author:
[email protected]
  • Method Details

    • getType

      String getType()
      UsernameToken version
      Returns:
      1.0 or 1.1
    • useNonce

      boolean useNonce()
      returns true is Nonce needs to be used in the UsernameToken Header sent in the message.
    • useCreated

      boolean useCreated()
      returns true is Created needs to be used in the UsernameToken Header sent in the message.
    • hasPassword

      boolean hasPassword()
      returns true is password needs to be used in the UsernameToken Header sent in the message.
    • useHashPassword

      boolean useHashPassword()
      Returns:
      true if password hash should be used instead of plaintext password
    • getIssuer

      Issuer getIssuer()
      returns the issuer for the Username token.
      Returns:
      returns the issuer
    • getIssuerName

      IssuerName getIssuerName()
      Returns:
      the issuer name for Username token
    • getClaims

      Claims getClaims()
      Returns:
      Claims
    • isRequireDerivedKeys

      boolean isRequireDerivedKeys()
    • getTokenRefernceType

      Set getTokenRefernceType()