QualifiedAgent |
SessionFactory.checkAndGetAgent(SessionToken sessionToken) |
Checks the integrity of the (security token of the) designated session
token and returns the agent of the (child level) session token.
|
QualifiedAgent |
SessionFactory.checkAndGetTopLevelAgent(SessionToken sessionToken) |
Checks the integrity of the (security token of the) top-level session of
the designated session token and returns the agent of the corresponding
top-level session token.
|
void |
SessionFactory.checkIntegrity(SessionToken sessionToken) |
Checks the integrity of the (security token of the) designated session
token.
|
UUID |
SignedSecurityToken.getID(PublicKey publicKey) |
Verifies the token and gets the unique ID of this security token which can
be used like a revision to invalidate a security token.
|
QualifiedAgent |
SignedSecurityToken.getQualifiedAgent(PublicKey publicKey) |
Verifies the token and returns the object representing the agent who is
identified by this security token.
|
SessionToken |
SessionFactory.getSubstituteSessionToken(SessionToken callerSession,
SignedSecurityToken substitutedToken) |
Creates a new (top-level) session token for the designated caller session
with the designated security information for usage as substitute.
|
SessionToken |
SessionFactory.getSubstituteSessionToken(SessionToken callerSession,
SignedSecurityToken substitutedToken,
Map<String,String> additionalAttributes) |
Creates a new (top-level) session token for the designated caller session
with the designated security information and the designated additional
attributes for usage as substitute.
|
boolean |
CapabilityChecker.hasAllCapabilities(SessionToken sessionToken,
String... capabilities) |
Checks the integrity of the (security token of the) designated session token and returns
whether the (security token of the) designated session has all of the designated capabilities.
|
boolean |
SignedSecurityToken.hasAllCapabilities(PublicKey publicKey,
String... objectAccess) |
Verifies the token and returns whether the owner of this token is allowed to access all of the
designated objects in the designated way, for instance, "ReadInstance".
|
boolean |
CapabilityChecker.hasAllTopLevelCapabilities(SessionToken sessionToken,
String... capabilities) |
Checks the integrity of the (security token of the) top-level session of the designated session
token and returns whether the (security token of the) top-level session of the designated
session has all of the designated capabilities.
|
boolean |
SessionFactory.hasCapability(SessionToken sessionToken,
String capability) |
Deprecated.
|
boolean |
SignedSecurityToken.hasCapability(PublicKey publicKey,
String objectAccess) |
Deprecated.
|
boolean |
CapabilityChecker.hasOneCapability(SessionToken sessionToken,
String... capabilities) |
Checks the integrity of the (security token of the) designated session token and returns
whether the (security token of the) designated session has at least one of the designated
capabilities.
|
boolean |
SignedSecurityToken.hasOneCapability(PublicKey publicKey,
String... objectAccess) |
Verifies the token and returns whether the owner of this token is allowed to access at least
one of the designated objects in the designated way, for instance, "ReadInstance".
|
boolean |
CapabilityChecker.hasOneTopLevelCapability(SessionToken sessionToken,
String... capabilities) |
Checks the integrity of the (security token of the) top-level session of the designated session
token and returns whether the (security token of the) top-level session of the designated
session has at least one of the designated capabilities.
|
boolean |
SessionFactory.hasTopLevelCapability(SessionToken sessionToken,
String capability) |
Deprecated.
|
void |
SignedSecurityToken.verify(PublicKey publicKey) |
Verifies the signature of the security token against the designated public
key.
|