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 voidDIService. 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.voidDIServiceSerializer. serialize(PrintWriter w, OA2ServiceTransaction oa2ServiceTransaction, int status)voidDIServiceSerializer. serialize(PrintWriter w, OA2ServiceTransaction oa2ServiceTransaction, Err errResponse)protected voidDIService. writeTransaction(OA2ServiceTransaction oa2ServiceTransaction, int status, javax.servlet.http.HttpServletResponse response)protected voidDIService. 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 OA2ServiceTransactionAbstractPayloadHandler. transactionprotected OA2ServiceTransactionOA2ClaimsUtil. transactionDeprecated.Methods in org.oa4mp.server.loader.oauth2.claims that return OA2ServiceTransaction Modifier and Type Method Description OA2ServiceTransactionPayloadHandlerConfigImpl. getTransaction()Methods in org.oa4mp.server.loader.oauth2.claims with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected voidIDTokenHandler. checkRequiredScopes(OA2ServiceTransaction t)Use this to check for any requires scopes that the request must have.protected voidOA2ClaimsUtil. checkRequiredScopes(OA2ServiceTransaction t)Deprecated.Use this to check for any requires scopes that the request must have.protected edu.uiuc.ncsa.security.util.scripting.ScriptRunRequestOA2ClaimsUtil. newSRR(OA2ServiceTransaction transaction, String phase)Deprecated.creates newScriptRunRequestwith the basic information.protected static ClaimSourceClaimSourceFactoryImpl. processDefaultConfig(ClaimSourceConfigurationUtil claimSourceConfigurationUtil, org.kordamp.json.JSONObject json, OA2SE oa2SE, OA2ServiceTransaction transaction)protected static ClaimSourceClaimSourceFactoryImpl. processLDAPConfig(LDAPConfigurationUtil ldapConfigurationUtil, org.kordamp.json.JSONObject json, OA2SE oa2SE, OA2ServiceTransaction transaction)voidPayloadHandlerConfigImpl. 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 OA2ServiceTransactionOA2CFConfigurationLoader.OA4MP2TProvider. get(boolean createNewIdentifier)OA2ServiceTransactionOA2CFConfigurationLoader.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 OA2SQLTransactionStoreProviderOA2CFConfigurationLoader. createSQLTSP(edu.uiuc.ncsa.security.core.cf.CFNode 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>OA2CFConfigurationLoader. 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 OA2ServiceTransactionOA2AuthorizedServletUtil. 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 OA2ServiceTransactionOA2AuthorizedServletUtil. createNewTransaction(AuthorizationGrant grant)OA2ServiceTransactionOA2AuthorizedServletUtil. doDelegation(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)OA2ServiceTransactionOA2AuthorizedServletUtil. doDelegation(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, boolean encodeTokenInResponse)Main entry point for this class.protected OA2ServiceTransactionOA2AuthorizedServletUtil. 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. the doDelegation call that is invoked by the OA4MP Authorize servlet.protected OA2ServiceTransactionBearerTokenServlet. findTransaction(AccessTokenImpl at, TokenManagerServlet.State state)Find the transaction associated with the access token.protected static OA2ServiceTransactionOA2TokenUtils. getTransactionFromTX(OA2SE oa2se, URI jti, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)static OA2ServiceTransactionOA2TokenUtils. 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 OA2ServiceTransactionOA2TokenUtils. getTransactionFromTX(OA2SE oa2se, IDTokenImpl idToken, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)static OA2ServiceTransactionOA2TokenUtils. getTransactionFromTX(OA2SE oa2se, RefreshTokenImpl refreshToken, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)protected OA2ServiceTransactionTokenManagerServlet. getTransFromToken(String token)Methods in org.oa4mp.server.loader.oauth2.servlet with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected voidOA2AuthorizedServletUtil. checkPrompts(OA2ServiceTransaction transaction, Map<String,String> map)Basically, if the prompt parameter is there, we only support the login option.static longClientUtils. computeATLifetime(OA2ServiceTransaction st2, OA2SE oa2SE)static longClientUtils. computeATLifetime(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)Scorecard:protected static longClientUtils. computeATLifetimeNEW(OA2ServiceTransaction st2, OA2SE oa2SE)For cases where you know that the client is not overridden.static longClientUtils. computeIDTLifetime(OA2ServiceTransaction st2, OA2SE oa2SE)static longClientUtils. computeIDTLifetime(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)static longClientUtils. computeRefreshLifetime(OA2ServiceTransaction st2, OA2SE oa2SE)static longClientUtils. computeRefreshLifetime(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)The lifetime of the refresh token.static longClientUtils. computeRefreshLifetimeNEW(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)static longClientUtils. computeRefreshLifetimeOLD(OA2ServiceTransaction st2, OA2SE oa2SE)static OA2ClientOA2ClientUtils. 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 voidOA2AuthorizedServletUtil. figureOutAudienceAndResource(OA2ServiceTransaction t, String[] rawResource, String[] rawAudience)static voidOA2ServletUtils. 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 voidOA2ServletUtils. 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 voidOA2ServletUtils. processReservedXAs(org.kordamp.json.JSONObject xas, OA2ServiceTransaction t)This takes the set of reservedExtendedParametersand sets state in the transaction.static voidOA2ServletUtils. processXAs(Map<String,String[]> params, OA2ServiceTransaction t, OA2Client client)static voidOA2ServletUtils. processXAs(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction t, OA2Client client)Process the extended attrubutes from the request's parameter map.static voidOA2ServletUtils. processXAs(org.kordamp.json.JSONObject params, OA2ServiceTransaction t, OA2Client client)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 voidOA2ClientUtils. setupHandlers(HandlerRunner handlerRunner, OA2SE oa2SE, OA2ServiceTransaction transaction, OA2Client client, javax.servlet.http.HttpServletRequest req)static voidOA2ClientUtils. setupHandlers(HandlerRunner handlerRunner, OA2SE oa2SE, OA2ServiceTransaction transaction, OA2Client client, TXRecord idTX, TXRecord atTX, TXRecord rtTX, javax.servlet.http.HttpServletRequest req)static voidOA2AuthorizedServletUtil. 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.ScriptRuntimeEngineScriptRuntimeEngineFactory. createRTE(OA2SE oa2SE, OA2ServiceTransaction transaction, org.kordamp.json.JSONObject config)static edu.uiuc.ncsa.security.util.scripting.ScriptRuntimeEngineScriptRuntimeEngineFactory. createRTE(OA2SE oa2SE, OA2ServiceTransaction transaction, TXRecord txRecord, edu.uiuc.ncsa.security.util.jwk.JSONWebKeys keys, org.kordamp.json.JSONObject config)Create the runtime engine. -
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 interfaceUsernameFindable<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 OA2ServiceTransactionRefreshTokenStore. get(RefreshToken refreshToken)Methods in org.oa4mp.server.loader.oauth2.storage with parameters of type OA2ServiceTransaction Modifier and Type Method Description voidTokenInfoRecord. 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 classOA2FSTStore<V extends OA2ServiceTransaction>Created by Jeff Gaynor
on 3/12/14 at 1:21 PMclassOA2MTStore<V extends OA2ServiceTransaction>Created by Jeff Gaynor
on 3/25/14 at 12:51 PMclassOA2SQLTStore<V extends OA2ServiceTransaction>Created by Jeff Gaynor
on 3/25/14 at 10:30 AMclassOA2TConverter<V extends OA2ServiceTransaction>Created by Jeff Gaynor
on 3/12/14 at 1:35 PMinterfaceOA2TStoreInterface<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(edu.uiuc.ncsa.security.core.cf.CFNode config, edu.uiuc.ncsa.security.core.IdentifiableProvider<? extends OA2ServiceTransaction> tp, javax.inject.Provider<TokenForge> tfp, TransactionConverter<? extends OA2ServiceTransaction> tc)OA2FSTStoreProvider(edu.uiuc.ncsa.security.core.cf.CFNode config, edu.uiuc.ncsa.security.core.IdentifiableProvider<? extends OA2ServiceTransaction> tp, javax.inject.Provider<TokenForge> tfp, TransactionConverter<? extends OA2ServiceTransaction> tc)OA2SQLTransactionStoreProvider(edu.uiuc.ncsa.security.core.cf.CFNode 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 OA2ServiceTransactionTokenHandlerMethod. 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 OA2ServiceTransactionOA2State. getTransaction()Methods in org.oa4mp.server.loader.qdl.scripting with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected voidQDLRuntimeEngine. init(OA2ServiceTransaction transaction)The structure of the configuration file (for backwards compatibility) isvoidOA2State. 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 OA2ServiceTransactionOA2ATServlet.RFC8693Thingie. transactionMethods in org.oa4mp.server.proxy that return OA2ServiceTransaction Modifier and Type Method Description protected OA2ServiceTransactionOA2ATServlet. getByRT(RefreshToken refreshToken)Methods in org.oa4mp.server.proxy with parameters of type OA2ServiceTransaction Modifier and Type Method Description protected voidOA2ATServlet. checkCodeChallenge(OA2ServiceTransaction serviceTransaction, OA2Client client, String verifier)protected voidRFC8628Servlet. checkParameters(OA2ServiceTransaction t, OA2Client client, AGResponse agResponse, javax.servlet.http.HttpServletRequest req)protected static OA2CLCCommandsProxyUtils. createCLC(OA2SE oa2SE, OA2ServiceTransaction t)Create a completely new CLC and load the configuration into it.protected static voidProxyUtils. 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 OA2CLCCommandsProxyUtils. getCLC(OA2SE oa2SE, OA2ServiceTransaction t)Get the fully functional CLC (Command Line Client) associated with this transaction.protected static voidProxyUtils. 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 StringOA2AuthenticationServer. scopesToString(OA2ServiceTransaction t)Turn the scopes into a string.protected static voidProxyUtils. setClaimsFromProxy(OA2ServiceTransaction t, org.kordamp.json.JSONObject proxyClaims, edu.uiuc.ncsa.security.core.util.MetaDebugUtil debugger)Takes the claims returned fromthe proxy and adds them to the transactionprotected StringProxyCallbackServlet. setClientConsentAttributes(OA2ServiceTransaction t, String contextPath)Set the parameters for the local consent page.protected voidRFC8628AuthenticationServer. setClientConsentAttributes(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction t)protected StringRFC8628AuthenticationServer. setClientConsentAttributes(OA2ServiceTransaction t, RFC8628AuthenticationServer.PendingState pendingState, String contextPath)Set the attributes for the consent page.protected voidProxyCallbackServlet. setClientConsentAttributesOLD(javax.servlet.http.HttpServletRequest request, OA2ServiceTransaction t)protected voidOA2ATServlet. 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 voidProxyUtils. startProxyAuthCodeFlow(OA2SE oa2SE, OA2ServiceTransaction t, javax.servlet.http.HttpServletResponse response)Starts the authorization code flow in the proxy.protected static StringProxyUtils. startProxyDeviceFlow(OA2SE oa2SE, OA2ServiceTransaction t, RFC8628State rfc8628State)Starts device flow with proxy and populates theRFC8628Statewith the information from the proxy.protected static OA2ATExceptionProxyUtils. toOA2ATException(edu.uiuc.ncsa.security.servlet.ServiceClientHTTPException serviceClientHTTPException, OA2ServiceTransaction t)Handles various types of exceptions, transforming them to anOA2ATException.protected static voidProxyUtils. 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 classTransactionStemMC<V extends OA2ServiceTransaction>Created by Jeff Gaynor
on 12/21/20 at 7:17 AM
-