Class RFC9068ATHandler
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.claims.AbstractPayloadHandler
-
- org.oa4mp.server.loader.oauth2.claims.AbstractAccessTokenHandler
-
- org.oa4mp.server.loader.oauth2.tokens.RFC9068ATHandler
-
- All Implemented Interfaces:
AccessTokenHandlerInterface
,PayloadHandler
,RFC9068Constants
,Serializable
public class RFC9068ATHandler extends AbstractAccessTokenHandler implements RFC9068Constants
Handler for access tokens as per RFC 9068.Created by Jeff Gaynor
on 11/16/21 at 8:10 AM- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims.AbstractAccessTokenHandler
AT_BASIC_HANDLER_TYPE, AT_DEFAULT_HANDLER_TYPE
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims.AbstractPayloadHandler
claims, oa2se, request, transaction
-
Fields inherited from interface edu.uiuc.ncsa.oa4mp.delegation.oa2.server.RFC9068Constants
HEADER_TYPE, RFC9068_TAG, RFC9068_TAG2
-
-
Constructor Summary
Constructors Constructor Description RFC9068ATHandler(PayloadHandlerConfigImpl payloadHandlerConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessToken
getSignedAT(edu.uiuc.ncsa.security.util.jwk.JSONWebKey key)
void
init()
Creates and initializes the claims object this class manages.-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims.AbstractAccessTokenHandler
addRequestState, checkClaims, finish, finish, getAccessToken, getATConfig, getAtData, getSignedAT, getSources, handleResponse, refreshAccountingInformation, resolveTemplates, saveState, setAccessToken, setAccountingInformation, setAtData
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims.AbstractPayloadHandler
doServerVariables, doSubstitution, execute, getClaims, getExtendedAttributes, getPhCfg, getResponseCode, getToken, hasScript, isEmpty, listToString, refresh, setClaims, setExtendedAttributes, setPhCfg, setResponseCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.uiuc.ncsa.oa4mp.delegation.oa2.jwt.PayloadHandler
execute, getClaims, getExtendedAttributes, getPhCfg, getResponseCode, getToken, hasScript, refresh, setPhCfg, setResponseCode
-
-
-
-
Constructor Detail
-
RFC9068ATHandler
public RFC9068ATHandler(PayloadHandlerConfigImpl payloadHandlerConfig)
-
-
Method Detail
-
init
public void init() throws Throwable
Description copied from interface:PayloadHandler
Creates and initializes the claims object this class manages.- Specified by:
init
in interfacePayloadHandler
- Overrides:
init
in classAbstractAccessTokenHandler
- Throws:
Throwable
-
getSignedAT
public AccessToken getSignedAT(edu.uiuc.ncsa.security.util.jwk.JSONWebKey key)
- Specified by:
getSignedAT
in interfaceAccessTokenHandlerInterface
- Overrides:
getSignedAT
in classAbstractAccessTokenHandler
-
-