Class AuthToken


public class AuthToken extends Object
A JPA implementation for an authentication token. This class is used by AuthInfo, and stores authentication tokens.
See Also:
  • Constructor Details

    • AuthToken

      public AuthToken()
      Default constructor.
    • AuthToken

      public AuthToken(String value, Date expiryDate)
  • Method Details

    • getAuthInfo

      public AuthInfo getAuthInfo()
      Returns the token owner.
    • setAuthInfo

      public void setAuthInfo(AuthInfo info)
      Set the token owner.
    • getValue

      public String getValue()
      Returns the token value.
    • setValue

      public void setValue(String value)
    • getExpiryDate

      public Date getExpiryDate()
      Returns the token expiry date.
    • setExpiryDate

      public void setExpiryDate(Date expiryDate)
    • getId

      public long getId()
    • setId

      public void setId(long id)
    • getVersion

      public int getVersion()
    • setVersion

      public void setVersion(int version)