Class WLCGTokenHandler
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.claims.AbstractPayloadHandler
-
- org.oa4mp.server.loader.oauth2.claims.AbstractAccessTokenHandler
-
- org.oa4mp.server.loader.oauth2.tokens.WLCGTokenHandler
-
- All Implemented Interfaces:
Serializable,org.oa4mp.delegation.server.jwt.AccessTokenHandlerInterface,org.oa4mp.delegation.server.jwt.IDTokenHandlerInterface,org.oa4mp.delegation.server.jwt.PayloadHandler,org.oa4mp.delegation.server.OA2Scopes,WLCGConstants
public class WLCGTokenHandler extends AbstractAccessTokenHandler implements WLCGConstants
Created by Jeff Gaynor
on 6/26/20 at 4:57 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_AUDIENCE-
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
-
Fields inherited from interface org.oa4mp.server.loader.oauth2.tokens.WLCGConstants
COMPUTE_CANCEL, COMPUTE_CREATE, COMPUTE_MODIFY, COMPUTE_READ, EDUPERSON_ASSURANCE, GROUPS_TAG, STORAGE_CREATE, STORAGE_MODIFY, STORAGE_READ, STORAGE_STAGE, WLCG_TAG, WLCG_VERSION_1_0, WLCG_VERSION_TAG
-
-
Constructor Summary
Constructors Constructor Description WLCGTokenHandler(PayloadHandlerConfigImpl cfg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinish(boolean doTemplates, boolean isQuery)voidsetAccountingInformation()-
Methods inherited from class org.oa4mp.server.loader.oauth2.claims.AbstractAccessTokenHandler
addRequestState, checkClaims, finish, getAccessToken, getATConfig, getPayload, getSignedPayload, getSignedPayload, getSources, getUserMetaData, handleResponse, init, refreshAccountingInformation, resolveTemplates, saveState, setAccessToken, 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
-
-
-
-
Field Detail
-
DEFAULT_AUDIENCE
public static String DEFAULT_AUDIENCE
-
-
Constructor Detail
-
WLCGTokenHandler
public WLCGTokenHandler(PayloadHandlerConfigImpl cfg)
-
-
Method Detail
-
setAccountingInformation
public void setAccountingInformation()
- Specified by:
setAccountingInformationin interfaceorg.oa4mp.delegation.server.jwt.PayloadHandler- Overrides:
setAccountingInformationin classAbstractAccessTokenHandler
-
finish
public void finish(boolean doTemplates, boolean isQuery) throws Throwable- Overrides:
finishin classAbstractAccessTokenHandler- Throws:
Throwable
-
-