java.lang.Object
iu.crypt.Jwt
iu.auth.config.RemoteAccessToken
- All Implemented Interfaces:
WebToken
Exposes claims specific to authorizing EJB invocation.
-
Field Summary
Fields inherited from class iu.crypt.Jwt
claims, NUMERIC_DATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteAccessTokenBuilder<?> builder()Gets a builder.protected <T extends IuAuthorizationDetails>
TgetAuthorizationDetails(String type, Class<T> detailInterface) Gets the called URL.Gets the called URL.getScope()Gets the authorized scope.Methods inherited from class iu.crypt.Jwt
decryptAndVerify, equals, getAudience, getExpires, getIssuedAt, getIssuer, getNonce, getNotBefore, getSubject, getTokenId, hashCode, isExpired, sign, signAndEncrypt, toString, validate, validateClaims, verify
-
Constructor Details
-
RemoteAccessToken
Constructor.- Parameters:
claims- Parsed JSON claims
-
-
Method Details
-
builder
Gets a builder.- Returns:
RemoteAccessTokenBuilder
-
getAuthorizationDetails
protected <T extends IuAuthorizationDetails> T getAuthorizationDetails(String type, Class<T> detailInterface) Gets the called URL.- Type Parameters:
T- details interface type- Parameters:
type- authorization details typedetailInterface- authorization details interface- Returns:
- authorization details
-
getScope
Gets the authorized scope.- Returns:
- scope
-
getCallerAttributes
Gets the called URL.- Returns:
URI
-