Class PayloadHandlerConfigImpl
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.claims.PayloadHandlerConfigImpl
-
- All Implemented Interfaces:
org.oa4mp.delegation.server.jwt.PayloadHandlerConfig
public class PayloadHandlerConfigImpl extends Object implements org.oa4mp.delegation.server.jwt.PayloadHandlerConfig
The configuration for the payload handler (id token, various access tokens). This is the state the handler needs to operate (current transaction, environment) as opposed to the functionality for making tokens (inCreated by Jeff Gaynor
on 6/30/20 at 10:53 AM
-
-
Constructor Summary
Constructors Constructor Description PayloadHandlerConfigImpl(AbstractPayloadConfig abstractClientConfig, OA2SE oa2se, OA2ServiceTransaction transaction, OA2Client cLient, TXRecord txRecord, javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OA2ClientgetClient()Get the client associated with this.AbstractPayloadConfiggetClientConfig()OA2SEgetOa2se()AbstractPayloadConfiggetPayloadConfig()javax.servlet.http.HttpServletRequestgetRequest()edu.uiuc.ncsa.security.util.scripting.ScriptSetgetScriptSet()OA2ServiceTransactiongetTransaction()TXRecordgetTxRecord()booleanhasTXRecord()booleanisLegacyHandler()voidsetClient(OA2Client client)voidsetClientConfig(AbstractPayloadConfig clientConfig)voidsetLegacyHandler(boolean b)voidsetOa2se(OA2SE oa2se)voidsetRequest(javax.servlet.http.HttpServletRequest request)voidsetTransaction(OA2ServiceTransaction transaction)voidsetTxRecord(TXRecord txRecord)StringtoString()
-
-
-
Constructor Detail
-
PayloadHandlerConfigImpl
public PayloadHandlerConfigImpl(AbstractPayloadConfig abstractClientConfig, OA2SE oa2se, OA2ServiceTransaction transaction, OA2Client cLient, TXRecord txRecord, javax.servlet.http.HttpServletRequest request)
-
-
Method Detail
-
getPayloadConfig
public AbstractPayloadConfig getPayloadConfig()
-
setClientConfig
public void setClientConfig(AbstractPayloadConfig clientConfig)
-
getClientConfig
public AbstractPayloadConfig getClientConfig()
-
hasTXRecord
public boolean hasTXRecord()
-
getTxRecord
public TXRecord getTxRecord()
-
setTxRecord
public void setTxRecord(TXRecord txRecord)
-
getClient
public OA2Client getClient()
Get the client associated with this. NOTE that this client is possibly resolved from prototypes and is therefore not the client in the transaction. It is needed to set the correct lifetimes and such later.- Returns:
-
setClient
public void setClient(OA2Client client)
-
getOa2se
public OA2SE getOa2se()
-
setOa2se
public void setOa2se(OA2SE oa2se)
-
getTransaction
public OA2ServiceTransaction getTransaction()
-
setTransaction
public void setTransaction(OA2ServiceTransaction transaction)
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
-
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest request)
-
getScriptSet
public edu.uiuc.ncsa.security.util.scripting.ScriptSet getScriptSet()
- Specified by:
getScriptSetin interfaceorg.oa4mp.delegation.server.jwt.PayloadHandlerConfig
-
isLegacyHandler
public boolean isLegacyHandler()
- Specified by:
isLegacyHandlerin interfaceorg.oa4mp.delegation.server.jwt.PayloadHandlerConfig
-
setLegacyHandler
public void setLegacyHandler(boolean b)
- Specified by:
setLegacyHandlerin interfaceorg.oa4mp.delegation.server.jwt.PayloadHandlerConfig
-
-