Class DefaultAccessTokenHandler
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.claims.AbstractPayloadHandler
-
- org.oa4mp.server.loader.oauth2.claims.AbstractAccessTokenHandler
-
- org.oa4mp.server.loader.oauth2.tokens.DefaultAccessTokenHandler
-
- All Implemented Interfaces:
Serializable
,AccessTokenHandlerInterface
,IDTokenHandlerInterface
,PayloadHandler
,OA2Scopes
public class DefaultAccessTokenHandler extends AbstractAccessTokenHandler
For an opaque token. This is NOT a JWT, but does allow for setting a few parameters, viz., the lifetime and QDL can be specified.Created by Jeff Gaynor
on 1/10/22 at 11:13 AM- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.oa4mp.delegation.server.OA2Scopes
OA2Scopes.ScopeUtil
-
-
Field Summary
-
Fields inherited from class org.oa4mp.server.loader.oauth2.claims.AbstractAccessTokenHandler
AT_BASIC_HANDLER_TYPE, AT_DEFAULT_HANDLER_TYPE
-
Fields inherited from class org.oa4mp.server.loader.oauth2.claims.AbstractPayloadHandler
client, oa2se, payload, request, transaction
-
Fields inherited from interface org.oa4mp.delegation.server.OA2Scopes
basicScopes, EDU_PERSON_ORC_ID, nonPublicScopes, SCOPE_ADDRESS, SCOPE_CILOGON_INFO, SCOPE_EMAIL, SCOPE_MYPROXY, SCOPE_OFFLINE_ACCESS, SCOPE_OPENID, SCOPE_PHONE, SCOPE_PROFILE, SCOPE_TOKEN_MANAGER, SCOPE_USER_INFO
-
-
Constructor Summary
Constructors Constructor Description DefaultAccessTokenHandler(PayloadHandlerConfigImpl payloadHandlerConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTokenImpl
getSignedPayload(edu.uiuc.ncsa.security.util.jwk.JSONWebKey key)
-
Methods inherited from class org.oa4mp.server.loader.oauth2.claims.AbstractAccessTokenHandler
addRequestState, checkClaims, finish, finish, getAccessToken, getATConfig, getPayload, getSignedPayload, getSources, getUserMetaData, handleResponse, init, refreshAccountingInformation, resolveTemplates, saveState, setAccessToken, setAccountingInformation, setUserMetaData
-
Methods inherited from class org.oa4mp.server.loader.oauth2.claims.AbstractPayloadHandler
doServerVariables, doSubstitution, execute, getExtendedAttributes, getPhCfg, getResponseCode, getTXRecord, hasScript, hasTXRecord, isEmpty, listToString, refresh, setExtendedAttributes, setPayload, setPhCfg, setResponseCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.oa4mp.delegation.server.jwt.PayloadHandler
execute, getExtendedAttributes, getPhCfg, getResponseCode, hasScript, refresh, setPayload, setPhCfg, setResponseCode
-
-
-
-
Constructor Detail
-
DefaultAccessTokenHandler
public DefaultAccessTokenHandler(PayloadHandlerConfigImpl payloadHandlerConfig)
-
-
Method Detail
-
getSignedPayload
public AccessTokenImpl getSignedPayload(edu.uiuc.ncsa.security.util.jwk.JSONWebKey key)
- Specified by:
getSignedPayload
in interfacePayloadHandler
- Overrides:
getSignedPayload
in classAbstractAccessTokenHandler
-
-