Class TokenReference

java.lang.Object
org.apache.cxf.sts.token.provider.TokenReference

public class TokenReference extends Object
A class that encapsulates how a token should be referenced
  • Constructor Details

    • TokenReference

      public TokenReference()
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Get the identifier associated with this token
      Returns:
      the identifier associated with this token
    • setIdentifier

      public void setIdentifier(String identifier)
      Set the identifier associated with this token
      Parameters:
      identifier - the identifier associated with this token
    • getWsse11TokenType

      public String getWsse11TokenType()
      Get the wsse11 TokenType attribute
      Returns:
      the wsse11 TokenType attribute
    • setWsse11TokenType

      public void setWsse11TokenType(String wsse11TokenType)
      Set the wsse11 TokenType attribute
      Parameters:
      wsse11TokenType - the wsse11 TokenType attribute
    • getWsseValueType

      public String getWsseValueType()
      Get the wsse ValueType attribute
      Returns:
      the wsse ValueType attribute
    • setWsseValueType

      public void setWsseValueType(String wsseValueType)
      Set the wsse ValueType attribute
      Parameters:
      wsseValueType - the wsse ValueType attribute
    • isUseDirectReference

      public boolean isUseDirectReference()
      Get whether to use direct reference to refer to this token
      Returns:
      whether to use direct reference to refer to this token
    • setUseDirectReference

      public void setUseDirectReference(boolean useDirectReference)
      Set whether to use direct reference to refer to this token
      Parameters:
      useDirectReference - whether to use direct reference to refer to this token
    • isUseKeyIdentifier

      public boolean isUseKeyIdentifier()
      Get whether to use a KeyIdentifier to refer to this token
      Returns:
      whether to use a KeyIdentifier to refer to this token
    • setUseKeyIdentifier

      public void setUseKeyIdentifier(boolean useKeyIdentifier)
      Set whether to use a KeyIdentifier to refer to this token
      Parameters:
      useKeyIdentifier - whether to use a KeyIdentifier to refer to this token