Class Token

java.lang.Object
com.atlassian.crowd.model.token.Token
All Implemented Interfaces:
AuthenticationToken, Serializable

@Deprecated public class Token extends Object implements Serializable, AuthenticationToken
Deprecated.
use @ImmutableToken instead. Since 3.6.0.
Holds the token information for an authenticated entity.
See Also:
  • Field Details

    • APPLICATION_TOKEN_DIRECTORY_ID

      public static final long APPLICATION_TOKEN_DIRECTORY_ID
      Deprecated.
      Tokens are used for application clients and principals. If the stored token does not have a valid directory ID, the token is then for an application. The value for an invalid directory ID is the APPLICATION_TOKEN_DIRECTORY_ID value.
      See Also:
  • Constructor Details

    • Token

      protected Token(Token other)
      Deprecated.
      Copy constructor
      Parameters:
      other - token to copy
  • Method Details