|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecureTokenService
Produces and manages SecureToken
s
Field Summary | |
---|---|
static java.lang.String |
BEAN_NAME
|
Method Summary | |
---|---|
SecureToken |
generate(PlanResultKey planResultKey)
Generates a SecureToken for a given PlanResultKey |
void |
invalidate(PlanResultKey planResultKey)
Invalidates the SecureToken for the given PlanResultKey |
boolean |
isValid(SecureToken tokenToValidate)
Checks if the given SecureToken is valid |
boolean |
isValid(SecureToken tokenToValidate,
PlanResultKey planResultKey)
Checks if the given SecureToken is valid for given PlanResultKey |
Field Detail |
---|
static final java.lang.String BEAN_NAME
Method Detail |
---|
@NotNull SecureToken generate(@NotNull PlanResultKey planResultKey)
SecureToken
for a given PlanResultKey
planResultKey
-
boolean isValid(@NotNull SecureToken tokenToValidate)
SecureToken
is valid
tokenToValidate
-
boolean isValid(@NotNull SecureToken tokenToValidate, @NotNull PlanResultKey planResultKey)
SecureToken
is valid for given PlanResultKey
tokenToValidate
- planResultKey
-
void invalidate(@NotNull PlanResultKey planResultKey)
SecureToken
for the given PlanResultKey
planResultKey
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |