Uses of Class
org.oa4mp.server.loader.oauth2.storage.transactions.OA2ServiceTransaction
-
-
Uses of OA2ServiceTransaction in org.oa4mp.di
Methods in org.oa4mp.di with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected void
DIService. doUserClaims(OA2ServiceTransaction t, javax.servlet.http.HttpServletRequest request, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
This will run the QDL scripts for the client in the auth phase If there are specialized claims for all users, override and do them here, then call super.void
DIServiceSerializer. serialize(PrintWriter w, OA2ServiceTransaction oa2ServiceTransaction, int status)
void
DIServiceSerializer. serialize(PrintWriter w, OA2ServiceTransaction oa2ServiceTransaction, Err errResponse)
protected void
DIService. writeTransaction(OA2ServiceTransaction oa2ServiceTransaction, int status, javax.servlet.http.HttpServletResponse response)
protected void
DIService. writeTransaction(OA2ServiceTransaction oa2ServiceTransaction, Err errResponse, javax.servlet.http.HttpServletResponse response)
-
Uses of OA2ServiceTransaction in org.oa4mp.server.loader.oauth2.claims
Fields in org.oa4mp.server.loader.oauth2.claims declared as OA2ServiceTransaction Modifier and Type Field Description protected OA2ServiceTransaction
AbstractPayloadHandler. transaction
protected OA2ServiceTransaction
OA2ClaimsUtil. transaction
Deprecated.Methods in org.oa4mp.server.loader.oauth2.claims that return OA2ServiceTransaction Modifier and Type Method Description OA2ServiceTransaction
PayloadHandlerConfigImpl. getTransaction()
Methods in org.oa4mp.server.loader.oauth2.claims with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected void
IDTokenHandler. checkRequiredScopes(OA2ServiceTransaction t)
Use this to check for any requires scopes that the request must have.protected void
OA2ClaimsUtil. checkRequiredScopes(OA2ServiceTransaction t)
Deprecated.Use this to check for any requires scopes that the request must have.protected edu.uiuc.ncsa.security.util.scripting.ScriptRunRequest
OA2ClaimsUtil. newSRR(OA2ServiceTransaction transaction, String phase)
Deprecated.creates newScriptRunRequest
with the basic information.protected static ClaimSource
ClaimSourceFactoryImpl. processDefaultConfig(ClaimSourceConfigurationUtil claimSourceConfigurationUtil, net.sf.json.JSONObject json, OA2SE oa2SE, OA2ServiceTransaction transaction)
protected static ClaimSource
ClaimSourceFactoryImpl. processLDAPConfig(LDAPConfigurationUtil ldapConfigurationUtil, net.sf.json.JSONObject json, OA2SE oa2SE, OA2ServiceTransaction transaction)
void
PayloadHandlerConfigImpl. setTransaction(OA2ServiceTransaction transaction)
Constructors in org.oa4mp.server.loader.oauth2.claims with parameters of type OA2ServiceTransaction Constructor Description OA2ClaimsUtil(OA2SE oa2se, OA2ServiceTransaction transaction)
Deprecated.PayloadHandlerConfigImpl(AbstractPayloadConfig abstractClientConfig, OA2SE oa2se, OA2ServiceTransaction transaction, OA2Client cLient, TXRecord txRecord, javax.servlet.http.HttpServletRequest request)
ServerQDLScriptHandlerConfig(OA2SE oa2se, OA2ServiceTransaction transaction, TXRecord txRecord, javax.servlet.http.HttpServletRequest request)
-
Uses of OA2ServiceTransaction in org.oa4mp.server.loader.oauth2.loader
Methods in org.oa4mp.server.loader.oauth2.loader that return OA2ServiceTransaction Modifier and Type Method Description OA2ServiceTransaction
OA2ConfigurationLoader.OA4MP2TProvider. get(boolean createNewIdentifier)
OA2ServiceTransaction
OA2ConfigurationLoader.ST2Provider. get(boolean createNewIdentifier)
Method parameters in org.oa4mp.server.loader.oauth2.loader with type arguments of type OA2ServiceTransaction Modifier and Type Method Description protected OA2SQLTransactionStoreProvider
OA2ConfigurationLoader. createSQLTSP(org.apache.commons.configuration.tree.ConfigurationNode config, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp, String type, MultiDSClientStoreProvider clientStoreProvider, javax.inject.Provider<? extends OA2ServiceTransaction> tp, javax.inject.Provider<TokenForge> tfp, edu.uiuc.ncsa.security.storage.data.MapConverter converter)
protected javax.inject.Provider<TransactionStore>
OA2ConfigurationLoader. getTSP(edu.uiuc.ncsa.security.core.IdentifiableProvider tp, OA2TConverter<? extends OA2ServiceTransaction> tc)
-
Uses of OA2ServiceTransaction in org.oa4mp.server.loader.oauth2.servlet
Methods in org.oa4mp.server.loader.oauth2.servlet that return OA2ServiceTransaction Modifier and Type Method Description protected OA2ServiceTransaction
OA2AuthorizedServletUtil. CheckIdTokenHint(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String callback)
In this case, a previous request to the token endpoint returned an ID token.protected OA2ServiceTransaction
OA2AuthorizedServletUtil. createNewTransaction(AuthorizationGrant grant)
OA2ServiceTransaction
OA2AuthorizedServletUtil. doDelegation(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
OA2ServiceTransaction
OA2AuthorizedServletUtil. doDelegation(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, boolean encodeTokenInResponse)
Main entry point for this class.protected OA2ServiceTransaction
OA2AuthorizedServletUtil. doIt(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
Note the entry point for this is theOA2AuthorizedServletUtil.doIt(HttpServletRequest, HttpServletResponse)
method if authorization is done elsewhere (so the assumption is that authorization has already happened), vs.protected OA2ServiceTransaction
BearerTokenServlet. findTransaction(AccessTokenImpl at, TokenManagerServlet.State state)
Find the transaction associated with the access token.protected static OA2ServiceTransaction
OA2TokenUtils. getTransactionFromTX(OA2SE oa2se, URI jti, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
static OA2ServiceTransaction
OA2TokenUtils. getTransactionFromTX(OA2SE oa2se, AccessTokenImpl accessToken, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
Given an access token (and transaction if available), Find the actual transaction.static OA2ServiceTransaction
OA2TokenUtils. getTransactionFromTX(OA2SE oa2se, IDTokenImpl idToken, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
static OA2ServiceTransaction
OA2TokenUtils. getTransactionFromTX(OA2SE oa2se, RefreshTokenImpl refreshToken, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
protected OA2ServiceTransaction
TokenManagerServlet. getTransFromToken(String token)
Methods in org.oa4mp.server.loader.oauth2.servlet with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected void
OA2AuthorizedServletUtil. checkPrompts(OA2ServiceTransaction transaction, Map<String,String> map)
Basically, if the prompt parameter is there, we only support the login option.static long
ClientUtils. computeATLifetime(OA2ServiceTransaction st2, OA2SE oa2SE)
static long
ClientUtils. computeATLifetime(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)
Scorecard:protected static long
ClientUtils. computeATLifetimeNEW(OA2ServiceTransaction st2, OA2SE oa2SE)
For cases where you know that the client is not overridden.static long
ClientUtils. computeIDTLifetime(OA2ServiceTransaction st2, OA2SE oa2SE)
static long
ClientUtils. computeIDTLifetime(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)
static long
ClientUtils. computeRefreshLifetime(OA2ServiceTransaction st2, OA2SE oa2SE)
static long
ClientUtils. computeRefreshLifetime(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)
The lifetime of the refresh token.static long
ClientUtils. computeRefreshLifetimeNEW(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)
static long
ClientUtils. computeRefreshLifetimeOLD(OA2ServiceTransaction st2, OA2SE oa2SE)
static OA2Client
OA2ClientUtils. createErsatz(OA2SE oa2SE, OA2ServiceTransaction t, OA2Client client)
Used to create the ersatz client when the service transaction has already been setup to have th provisioning admin and client IDs.static void
OA2AuthorizedServletUtil. figureOutAudienceAndResource(OA2ServiceTransaction t, String[] rawResource, String[] rawAudience)
static void
OA2ServletUtils. handleScriptEngineException(Object callingObject, OA2SE oa2SE, Throwable t, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger, OA2ServiceTransaction transaction, edu.uiuc.ncsa.security.storage.XMLMap tBackup)
static void
OA2ServletUtils. handleScriptEngineException(Object callingObject, OA2SE oa2SE, Throwable exception, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger, OA2ServiceTransaction transaction, edu.uiuc.ncsa.security.storage.XMLMap tBackup, TXRecord txRecord)
static void
OA2ServletUtils. processReservedXAs(net.sf.json.JSONObject xas, OA2ServiceTransaction t)
This takes the set of reservedExtendedParameters
and sets state in the transaction.static void
OA2ServletUtils. processXAs(Map<String,String[]> params, OA2ServiceTransaction t, OA2Client client)
static void
OA2ServletUtils. processXAs(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction t, OA2Client client)
Process the extended attrubutes from the request's parameter map.static Collection<String>
ClientUtils. resolveScopes(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction st, OA2Client oa2Client, boolean isNew, boolean isRFC8628)
static Collection<String>
ClientUtils. resolveScopes(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction st, OA2Client oa2Client, Collection passedInScopes, boolean isNew, boolean isRFC8628, boolean isRFC6749_4_4)
static Collection<String>
ClientUtils. resolveScopes(OA2ServiceTransaction t)
static List<String>
OA2ClientUtils. scopesFromTemplates(List<String> scopes, OA2ServiceTransaction t)
static void
OA2ClientUtils. setupHandlers(HandlerRunner handlerRunner, OA2SE oa2SE, OA2ServiceTransaction transaction, OA2Client client, javax.servlet.http.HttpServletRequest req)
static void
OA2ClientUtils. setupHandlers(HandlerRunner handlerRunner, OA2SE oa2SE, OA2ServiceTransaction transaction, OA2Client client, TXRecord idTX, TXRecord atTX, TXRecord rtTX, javax.servlet.http.HttpServletRequest req)
static void
OA2AuthorizedServletUtil. setupPKCE(String codeChallenge, String codeChallengeMethod, OA2SE oa2se, OA2ServiceTransaction transaction, OA2Client resolvedClient, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
-
Uses of OA2ServiceTransaction in org.oa4mp.server.loader.oauth2.state
Methods in org.oa4mp.server.loader.oauth2.state with parameters of type OA2ServiceTransaction Modifier and Type Method Description static edu.uiuc.ncsa.security.util.scripting.ScriptRuntimeEngine
ScriptRuntimeEngineFactory. createRTE(OA2SE oa2SE, OA2ServiceTransaction transaction, net.sf.json.JSONObject config)
static edu.uiuc.ncsa.security.util.scripting.ScriptRuntimeEngine
ScriptRuntimeEngineFactory. createRTE(OA2SE oa2SE, OA2ServiceTransaction transaction, TXRecord txRecord, net.sf.json.JSONObject config)
-
Uses of OA2ServiceTransaction in org.oa4mp.server.loader.oauth2.storage
Classes in org.oa4mp.server.loader.oauth2.storage with type parameters of type OA2ServiceTransaction Modifier and Type Interface Description interface
UsernameFindable<V extends OA2ServiceTransaction>
Certain cases in the OIDC spec (such as getting the id token back as a hint) requiring checking that the user so named has an active logon.Methods in org.oa4mp.server.loader.oauth2.storage that return OA2ServiceTransaction Modifier and Type Method Description OA2ServiceTransaction
RefreshTokenStore. get(RefreshToken refreshToken)
Methods in org.oa4mp.server.loader.oauth2.storage with parameters of type OA2ServiceTransaction Modifier and Type Method Description void
TokenInfoRecord. fromTransaction(OA2ServiceTransaction t)
For use in stores like memory or file -
Uses of OA2ServiceTransaction in org.oa4mp.server.loader.oauth2.storage.transactions
Classes in org.oa4mp.server.loader.oauth2.storage.transactions with type parameters of type OA2ServiceTransaction Modifier and Type Class Description class
OA2FSTStore<V extends OA2ServiceTransaction>
Created by Jeff Gaynor
on 3/12/14 at 1:21 PMclass
OA2MTStore<V extends OA2ServiceTransaction>
Created by Jeff Gaynor
on 3/25/14 at 12:51 PMclass
OA2SQLTStore<V extends OA2ServiceTransaction>
Created by Jeff Gaynor
on 3/25/14 at 10:30 AMclass
OA2TConverter<V extends OA2ServiceTransaction>
Created by Jeff Gaynor
on 3/12/14 at 1:35 PMinterface
OA2TStoreInterface<V extends OA2ServiceTransaction>
Created by Jeff Gaynor
on 3/16/22 at 6:58 AMConstructor parameters in org.oa4mp.server.loader.oauth2.storage.transactions with type arguments of type OA2ServiceTransaction Constructor Description OA2FSTStoreProvider(org.apache.commons.configuration.tree.ConfigurationNode config, edu.uiuc.ncsa.security.core.IdentifiableProvider<? extends OA2ServiceTransaction> tp, javax.inject.Provider<TokenForge> tfp, TransactionConverter<? extends OA2ServiceTransaction> tc)
OA2FSTStoreProvider(org.apache.commons.configuration.tree.ConfigurationNode config, edu.uiuc.ncsa.security.core.IdentifiableProvider<? extends OA2ServiceTransaction> tp, javax.inject.Provider<TokenForge> tfp, TransactionConverter<? extends OA2ServiceTransaction> tc)
OA2SQLTransactionStoreProvider(org.apache.commons.configuration.tree.ConfigurationNode config, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp, String type, MultiDSClientStoreProvider clientStoreProvider, javax.inject.Provider<? extends OA2ServiceTransaction> tp, javax.inject.Provider<TokenForge> tfp, edu.uiuc.ncsa.security.storage.data.MapConverter converter)
-
Uses of OA2ServiceTransaction in org.oa4mp.server.loader.qdl.claims
Methods in org.oa4mp.server.loader.qdl.claims that return OA2ServiceTransaction Modifier and Type Method Description protected OA2ServiceTransaction
TokenHandlerMethod. getTransaction()
-
Uses of OA2ServiceTransaction in org.oa4mp.server.loader.qdl.scripting
Methods in org.oa4mp.server.loader.qdl.scripting that return OA2ServiceTransaction Modifier and Type Method Description OA2ServiceTransaction
OA2State. getTransaction()
Methods in org.oa4mp.server.loader.qdl.scripting with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected void
QDLRuntimeEngine. init(OA2ServiceTransaction transaction)
The structure of the configuration file (for backwards compatibility) isvoid
OA2State. setTransaction(OA2ServiceTransaction transaction)
Constructors in org.oa4mp.server.loader.qdl.scripting with parameters of type OA2ServiceTransaction Constructor Description QDLRuntimeEngine(OA2QDLEnvironment qe, OA2ServiceTransaction transaction)
-
Uses of OA2ServiceTransaction in org.oa4mp.server.proxy
Fields in org.oa4mp.server.proxy declared as OA2ServiceTransaction Modifier and Type Field Description OA2ServiceTransaction
OA2ATServlet.RFC8693Thingie. transaction
Methods in org.oa4mp.server.proxy that return OA2ServiceTransaction Modifier and Type Method Description protected OA2ServiceTransaction
OA2ATServlet. getByRT(RefreshToken refreshToken)
Methods in org.oa4mp.server.proxy with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected void
OA2ATServlet. checkCodeChallenge(OA2ServiceTransaction serviceTransaction, OA2Client client, String verifier)
protected void
RFC8628Servlet. checkParameters(OA2ServiceTransaction t, OA2Client client, AGResponse agResponse, javax.servlet.http.HttpServletRequest req)
protected static OA2CLCCommands
ProxyUtils. createCLC(OA2SE oa2SE, OA2ServiceTransaction t)
Create a completely new CLC and load the configuration into it.protected static void
ProxyUtils. doProxyClaimsRefresh(OA2SE oa2SE, OA2ServiceTransaction t)
Attempt to do a refresh of the claims from the proxy server.static X509Certificate[]
ProxyUtils. getCerts(OA2SE oa2SE, OA2ServiceTransaction t)
protected static OA2CLCCommands
ProxyUtils. getCLC(OA2SE oa2SE, OA2ServiceTransaction t)
Get the fully functional CLC (Command Line Client) associated with this transaction.protected static void
ProxyUtils. getProxyAccessToken(OA2SE oa2SE, OA2ServiceTransaction t)
Gets the access token from the Proxy.protected static Collection<String>
ProxyUtils. getRequestScopes(OA2ServiceTransaction t, OA2CLCCommands clcCommands)
This will take the various bits and determine the actual scopes that should be in the request to the proxy.protected static String
OA2AuthenticationServer. scopesToString(OA2ServiceTransaction t)
Turn the scopes into a string.protected static void
ProxyUtils. setClaimsFromProxy(OA2ServiceTransaction t, net.sf.json.JSONObject proxyClaims, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
Takes the claims returned fromthe proxy and adds them to the transactionprotected void
ProxyCallbackServlet. setClientConsentAttributes(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction t)
protected void
RFC8628AuthenticationServer. setClientConsentAttributes(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction t)
protected void
OA2ATServlet. setUsername(OA2ServiceTransaction serviceTransaction, OA2Client client, String user)
Checks if the user name is allowed for this client and if so sets it, if not an exception is raised.protected static void
ProxyUtils. startProxyAuthCodeFlow(OA2SE oa2SE, OA2ServiceTransaction t, javax.servlet.http.HttpServletResponse response)
Starts the authorization code flow in the proxy.protected static String
ProxyUtils. startProxyDeviceFlow(OA2SE oa2SE, OA2ServiceTransaction t, RFC8628State rfc8628State)
Starts device flow with proxy and populates theRFC8628State
with the information from the proxy.protected static OA2ATException
ProxyUtils. toOA2ATException(edu.uiuc.ncsa.security.servlet.ServiceClientHTTPException serviceClientHTTPException, OA2ServiceTransaction t)
Handles various types of exceptions, transforming them to anOA2ATException
.protected static void
ProxyUtils. userCodeToProxyRedirect(OA2SE oa2SE, OA2ServiceTransaction t, RFC8628AuthenticationServer.PendingState pendingState)
Takes the verification_uri_complete from the CLC (on the proxy site) and forwards the user's browser so they can log in on the proxy server. -
Uses of OA2ServiceTransaction in org.oa4mp.server.qdl.storage
Classes in org.oa4mp.server.qdl.storage with type parameters of type OA2ServiceTransaction Modifier and Type Class Description class
TransactionStemMC<V extends OA2ServiceTransaction>
Created by Jeff Gaynor
on 12/21/20 at 7:17 AM
-