Uses of Class
de.aristaflow.adept2.base.sessionmanagement.SecurityTokenIntegrityException
Packages that use SecurityTokenIntegrityException
-
Uses of SecurityTokenIntegrityException in de.aristaflow.adept2.base.sessionmanagement
Methods in de.aristaflow.adept2.base.sessionmanagement that throw SecurityTokenIntegrityExceptionModifier and TypeMethodDescriptionSessionFactory.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.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.voidSessionFactory.checkIntegrity(SessionToken sessionToken) Checks the integrity of the (security token of the) designated session token.Verifies the token and gets the unique ID of this security token which can be used like a revision to invalidate a security token.SignedSecurityToken.getQualifiedAgent(PublicKey publicKey) Verifies the token and returns the object representing the agent who is identified by this security token.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.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.booleanCapabilityChecker.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.booleanSignedSecurityToken.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".booleanCapabilityChecker.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.booleanCapabilityChecker.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.booleanSignedSecurityToken.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".booleanCapabilityChecker.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.final voidVerifies the signature of the security token against the designated public key.Constructors in de.aristaflow.adept2.base.sessionmanagement that throw SecurityTokenIntegrityExceptionModifierConstructorDescriptionSignedSecurityToken(QualifiedAgent agent, Collection<String> capabilities, PrivateKey privateKey) Creates a new security token for the qualified agent providing the designated capabilities and signs it with the designated private key. -
Uses of SecurityTokenIntegrityException in de.aristaflow.adept2.core.client
Methods in de.aristaflow.adept2.core.client that throw SecurityTokenIntegrityExceptionModifier and TypeMethodDescriptionbooleanMultiplexingClientService.hasAllCapabilities(SessionToken sessionToken, String... capabilities) booleanMultiplexingClientService.hasAllTopLevelCapabilities(SessionToken sessionToken, String... capabilities) booleanMultiplexingClientService.hasOneCapability(SessionToken sessionToken, String... capabilities) booleanMultiplexingClientService.hasOneTopLevelCapability(SessionToken sessionToken, String... capabilities)