Uses of Class
org.oa4mp.server.loader.oauth2.storage.transactions.OA2ServiceTransaction
-
-
Uses of OA2ServiceTransaction in edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims
Fields in edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims declared as OA2ServiceTransaction Modifier and Type Field Description protected OA2ServiceTransaction
AbstractPayloadHandler. transaction
protected OA2ServiceTransaction
OA2ClaimsUtil. transaction
Deprecated.Methods in edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims that return OA2ServiceTransaction Modifier and Type Method Description OA2ServiceTransaction
PayloadHandlerConfigImpl. getTransaction()
Methods in edu.uiuc.ncsa.myproxy.oa4mp.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.static LinkedList<ClaimSource>
ClaimSourceFactoryImpl. createClaimSources(OA2SE oa2SE, OA2ServiceTransaction transaction)
This creates a uniform list of claim sources for both the access token servlet and the user info servlet.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 edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims with parameters of type OA2ServiceTransaction Constructor Description OA2ClaimsUtil(OA2SE oa2se, OA2ServiceTransaction transaction)
Deprecated.PayloadHandlerConfigImpl(AbstractPayloadConfig abstractClientConfig, OA2SE oa2se, OA2ServiceTransaction transaction, TXRecord txRecord, javax.servlet.http.HttpServletRequest request)
ServerQDLScriptHandlerConfig(OA2SE oa2se, OA2ServiceTransaction transaction, TXRecord txRecord, javax.servlet.http.HttpServletRequest request)
-
Uses of OA2ServiceTransaction in edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader
Methods in edu.uiuc.ncsa.myproxy.oa4mp.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 edu.uiuc.ncsa.myproxy.oa4mp.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 edu.uiuc.ncsa.myproxy.oa4mp.oauth2.servlet
Methods in edu.uiuc.ncsa.myproxy.oa4mp.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 at 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)
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, RefreshTokenImpl refreshToken, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
protected static OA2ServiceTransaction
OA2TokenUtils. getTransactionFromTX(OA2SE oa2se, URI jti, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
protected OA2ServiceTransaction
TokenManagerServlet. getTransFromToken(String token)
Methods in edu.uiuc.ncsa.myproxy.oa4mp.oauth2.servlet with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected void
OA2CertServlet. checkMPConnection(OA2ServiceTransaction st)
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, OA2Client client, OA2SE oa2SE)
Scorecard:protected static long
ClientUtils. computeATLifetimeNEW(OA2ServiceTransaction st2, OA2SE oa2SE)
protected static long
ClientUtils. computeATLifetimeOLD(OA2ServiceTransaction st2, OA2Client client, 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 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 Collection<String>
ClientUtils. resolveScopes(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction st, OA2Client oa2Client, boolean isNew, boolean isRFC8628)
static List<String>
OA2ClientUtils. scopesFromTemplates(List<String> scopes, OA2ServiceTransaction t)
static void
OA2ClientUtils. setupHandlers(JWTRunner jwtRunner, OA2SE oa2SE, OA2ServiceTransaction transaction, OA2Client client, TXRecord idTX, TXRecord atTX, TXRecord rtTX, javax.servlet.http.HttpServletRequest req)
static void
OA2ClientUtils. setupHandlers(JWTRunner jwtRunner, OA2SE oa2SE, OA2ServiceTransaction transaction, OA2Client client, javax.servlet.http.HttpServletRequest req)
-
Uses of OA2ServiceTransaction in edu.uiuc.ncsa.myproxy.oa4mp.oauth2.state
Methods in edu.uiuc.ncsa.myproxy.oa4mp.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, TXRecord txRecord, net.sf.json.JSONObject config)
static edu.uiuc.ncsa.security.util.scripting.ScriptRuntimeEngine
ScriptRuntimeEngineFactory. createRTE(OA2SE oa2SE, OA2ServiceTransaction transaction, net.sf.json.JSONObject config)
-
Uses of OA2ServiceTransaction in edu.uiuc.ncsa.myproxy.oa4mp.oauth2.storage
Classes in edu.uiuc.ncsa.myproxy.oa4mp.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 edu.uiuc.ncsa.myproxy.oa4mp.oauth2.storage that return OA2ServiceTransaction Modifier and Type Method Description OA2ServiceTransaction
RefreshTokenStore. get(RefreshToken refreshToken)
Methods in edu.uiuc.ncsa.myproxy.oa4mp.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 edu.uiuc.ncsa.myproxy.oa4mp.oauth2.storage.transactions
Classes in edu.uiuc.ncsa.myproxy.oa4mp.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 edu.uiuc.ncsa.myproxy.oa4mp.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 edu.uiuc.ncsa.myproxy.oa4mp.qdl.claims
Methods in edu.uiuc.ncsa.myproxy.oa4mp.qdl.claims that return OA2ServiceTransaction Modifier and Type Method Description protected OA2ServiceTransaction
TokenHandlerMethod. getTransaction()
-
Uses of OA2ServiceTransaction in edu.uiuc.ncsa.myproxy.oa4mp.qdl.scripting
Methods in edu.uiuc.ncsa.myproxy.oa4mp.qdl.scripting that return OA2ServiceTransaction Modifier and Type Method Description OA2ServiceTransaction
OA2State. getTransaction()
Methods in edu.uiuc.ncsa.myproxy.oa4mp.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 edu.uiuc.ncsa.myproxy.oa4mp.qdl.scripting with parameters of type OA2ServiceTransaction Constructor Description QDLRuntimeEngine(OA2QDLEnvironment qe, OA2ServiceTransaction transaction)
-
Uses of OA2ServiceTransaction in edu.uiuc.ncsa.oa2.qdl.storage
Classes in edu.uiuc.ncsa.oa2.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 -
Uses of OA2ServiceTransaction in edu.uiuc.ncsa.oa2.servlet
Methods in edu.uiuc.ncsa.oa2.servlet that return OA2ServiceTransaction Modifier and Type Method Description protected OA2ServiceTransaction
OA2ATServlet. getByRT(RefreshToken refreshToken)
Methods in edu.uiuc.ncsa.oa2.servlet with parameters of type OA2ServiceTransaction Modifier and Type Method Description 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.protected static void
ProxyUtils. doProxyRedirect(OA2SE oa2SE, OA2ServiceTransaction t, javax.servlet.http.HttpServletResponse response)
In the Authorization servlet, this creates the redirect to the proxy and redirects the user's browser.protected static void
ProxyUtils. doRFC8628AT(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 String
ProxyUtils. getProxyUserCode(OA2SE oa2SE, OA2ServiceTransaction t, RFC8628State rfc8628State)
Sets up device flow with proxy and populates theRFC8628State
with the information 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
OA2AuthorizationServer. scopesToString(OA2ServiceTransaction t)
protected static void
ProxyUtils. setClaimsFromProxy(OA2ServiceTransaction t, net.sf.json.JSONObject proxyClaims, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)
protected static OA2ATException
ProxyUtils. toOA2X(edu.uiuc.ncsa.security.servlet.ServiceClientHTTPException serviceClientHTTPException, OA2ServiceTransaction t)
protected static void
ProxyUtils. userCodeToProxyRedirect(OA2SE oa2SE, OA2ServiceTransaction t, RFC8628AuthorizationServer.PendingState pendingState)
Takes the user code in the service transaction (which has been found) and does the redirect to the proxy for login.
-