Class RemoteAccessToken

java.lang.Object
iu.crypt.Jwt
iu.auth.config.RemoteAccessToken
All Implemented Interfaces:
WebToken

public class RemoteAccessToken extends Jwt
Exposes claims specific to authorizing EJB invocation.
  • Constructor Details

    • RemoteAccessToken

      public RemoteAccessToken(JsonObject claims)
      Constructor.
      Parameters:
      claims - Parsed JSON claims
  • Method Details

    • builder

      public static RemoteAccessTokenBuilder<?> 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 type
      detailInterface - authorization details interface
      Returns:
      authorization details
    • getScope

      public String getScope()
      Gets the authorized scope.
      Returns:
      scope
    • getCallerAttributes

      public IuCallerAttributes getCallerAttributes()
      Gets the called URL.
      Returns:
      URI