Class AuthenticatedToken

java.lang.Object
com.atlassian.crowd.model.authentication.AuthenticatedToken
All Implemented Interfaces:
Serializable

public class AuthenticatedToken extends Object implements Serializable
An authentication token maps the valid authentication. The token attribute maintains a unique identifier that can be validated verses the crowd server.
See Also:
  • Constructor Details

    • AuthenticatedToken

      public AuthenticatedToken()
      Default constructor.
    • AuthenticatedToken

      public AuthenticatedToken(String name, String token)
      Parameters:
      name - The name of the authenticated principal or application.
      token - The token.
  • Method Details

    • getName

      public String getName()
      Gets the name of the authenticated client..
      Returns:
      The name.
    • setName

      public void setName(String name)
      Sets the name of the authenticated client.
      Parameters:
      name - The name.
    • getToken

      public String getToken()
      Gets the token.
      Returns:
      The token.
    • setToken

      public void setToken(String token)
      Sets the token.
      Parameters:
      token - The token.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object