Package com.day.crx.security.token
Class TokenCookie.Info
- java.lang.Object
-
- com.day.crx.security.token.TokenCookie.Info
-
- Enclosing class:
- TokenCookie
public static class TokenCookie.Info extends java.lang.Object
holds a token / workspace pair
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_NAME
name of the request attributestatic TokenCookie.Info
INVALID
java.lang.String
token
java.lang.String
workspace
-
Constructor Summary
Constructors Constructor Description Info(java.lang.String token, java.lang.String workspace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
boolean
isValid()
java.lang.String
toString()
-
-
-
Field Detail
-
INVALID
public static final TokenCookie.Info INVALID
-
ATTR_NAME
public static final java.lang.String ATTR_NAME
name of the request attribute
-
token
public final java.lang.String token
-
workspace
public final java.lang.String workspace
-
-
Method Detail
-
isValid
public boolean isValid()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-