Uses of Class
org.oa4mp.server.loader.oauth2.storage.clients.OA2Client
-
-
Uses of OA2Client in org.oa4mp.server.loader.oauth2.claims
Fields in org.oa4mp.server.loader.oauth2.claims declared as OA2Client Modifier and Type Field Description protected OA2ClientAbstractPayloadHandler. clientMethods in org.oa4mp.server.loader.oauth2.claims that return OA2Client Modifier and Type Method Description OA2ClientPayloadHandlerConfigImpl. getClient()Get the client associated with this.protected OA2ClientOA2ClaimsUtil. getOA2Client()Deprecated.Methods in org.oa4mp.server.loader.oauth2.claims with parameters of type OA2Client Modifier and Type Method Description voidPayloadHandlerConfigImpl. setClient(OA2Client client)Constructors in org.oa4mp.server.loader.oauth2.claims with parameters of type OA2Client Constructor Description PayloadHandlerConfigImpl(AbstractPayloadConfig abstractClientConfig, OA2SE oa2se, OA2ServiceTransaction transaction, OA2Client cLient, TXRecord txRecord, javax.servlet.http.HttpServletRequest request) -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.cm.oidc_cm
Methods in org.oa4mp.server.loader.oauth2.cm.oidc_cm that return OA2Client Modifier and Type Method Description protected OA2ClientOIDCCMServlet. getAndCheckOA2Client(javax.servlet.http.HttpServletRequest request)protected OA2ClientOIDCCMServlet. getClient(javax.servlet.http.HttpServletRequest req)Get the client from the request.protected OA2ClientOIDCCMServlet. processRegistrationRequest(net.sf.json.JSONObject jsonRequest, AdminClient adminClient, boolean isAnonymous, OA2Client client, String version)protected OA2ClientOIDCCMServlet. updateClient(OA2Client client, AdminClient adminClient, boolean isAnonymous, net.sf.json.JSONObject jsonRequest, boolean newClient, String version)Methods in org.oa4mp.server.loader.oauth2.cm.oidc_cm with parameters of type OA2Client Modifier and Type Method Description protected voidOIDCCMServlet. checkAdminPermission(AdminClient adminClient, OA2Client client)Checks that this client exists on the system and that if it exists, the admin client actually owns it.protected HashMap<String,String>OIDCCMServlet. defaultReplacements(javax.servlet.http.HttpServletRequest req, AdminClient adminClient, OA2Client client)protected voidOIDCCMServlet. handleGrants(OA2Client client, net.sf.json.JSONObject jsonRequest, OA2ClientKeys keys)protected voidOIDCCMServlet. handleResponseTypes(OA2Client client, net.sf.json.JSONObject jsonRequest, OA2ClientKeys keys)TL;DR: we support the grant types for the authorization_code flow so only code and id_token.protected OA2ClientOIDCCMServlet. processRegistrationRequest(net.sf.json.JSONObject jsonRequest, AdminClient adminClient, boolean isAnonymous, OA2Client client, String version)protected net.sf.json.JSONArrayOIDCCMServlet. toJSONArray(net.sf.json.JSONObject jsonRequest, String key, OA2Client client)protected net.sf.json.JSONObjectOIDCCMServlet. toJSONObject(OA2Client client, String version, boolean isGet)Take a client and turn it in to a response object.protected net.sf.json.JSONObjectOIDCCMServlet. toJSONObject5_4(OA2Client client, boolean isGet)protected net.sf.json.JSONObjectOIDCCMServlet. toJSONObject5_5(OA2Client client, boolean isGet)protected OA2ClientOIDCCMServlet. updateClient(OA2Client client, AdminClient adminClient, boolean isAnonymous, net.sf.json.JSONObject jsonRequest, boolean newClient, String version) -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.cm.util
Fields in org.oa4mp.server.loader.oauth2.cm.util declared as OA2Client Modifier and Type Field Description protected OA2ClientAbstractDDRequest. clientOA2ClientRequestFactory.RequestObject. clientMethods in org.oa4mp.server.loader.oauth2.cm.util that return OA2Client Modifier and Type Method Description OA2ClientAbstractDDRequest. getClient()protected OA2ClientAbstractDDServer. subset(OA2Client client, List<String> attributes)This will take a client and a list of attributes and return the requested subset.Methods in org.oa4mp.server.loader.oauth2.cm.util with parameters of type OA2Client Modifier and Type Method Description static ACGetRequestRequestFactory. createRequest(AdminClient adminClient, TypeAdmin typeClient, ActionGet actionGet, OA2Client client, net.sf.json.JSON json)static AttributeGetRequestRequestFactory. createRequest(AdminClient aSubj, TypeAttribute typeAttribute, ActionGet actionGet, OA2Client cTarget, net.sf.json.JSON content)static AttributeRemoveRequestRequestFactory. createRequest(AdminClient aSubj, TypeAttribute typeAttribute, ActionRemove actionRemove, OA2Client cTarget, net.sf.json.JSON content)static AttributeSetClientRequestRequestFactory. createRequest(AdminClient aSubj, TypeAttribute typeAttribute, ActionSet actionSet, OA2Client cTarget, net.sf.json.JSON content)static ApproveRequestRequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionApprove actionApprove, OA2Client client, net.sf.json.JSON json)static CreateRequestRequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionCreate actionCreate, OA2Client client, net.sf.json.JSON json)static GetRequestRequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionGet actionGet, OA2Client client, net.sf.json.JSON json)static RemoveRequestRequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionRemove actionRemove, OA2Client client, net.sf.json.JSON json)static UnapproveRequestRequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionUnapprove actionUnapprove, OA2Client client, net.sf.json.JSON json)static AddClientRequestRequestFactory. createRequest(AdminClient adminClient, TypePermission typeP, ActionAdd acreate, OA2Client client, net.sf.json.JSON json)static PermissionRequestRequestFactory. createRequest(AdminClient adminClient, TypePermission typeP, ActionList aList, OA2Client client, net.sf.json.JSON json)static RemoveClientRequestRequestFactory. createRequest(AdminClient adminClient, TypePermission typeP, ActionRemove actionRemove, OA2Client client, net.sf.json.JSON json)protected OA2ClientAbstractDDServer. subset(OA2Client client, List<String> attributes)This will take a client and a list of attributes and return the requested subset.Constructors in org.oa4mp.server.loader.oauth2.cm.util with parameters of type OA2Client Constructor Description AbstractDDRequest(AdminClient adminClient, OA2Client client)DDAttributeRequest(AdminClient adminClient, OA2Client client, List<String> attributes) -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.cm.util.attributes
Constructors in org.oa4mp.server.loader.oauth2.cm.util.attributes with parameters of type OA2Client Constructor Description AttributeGetRequest(AdminClient adminClient, OA2Client client, List<String> attributes)AttributeListRequest(AdminClient adminClient, OA2Client client)AttributeRemoveRequest(AdminClient adminClient, OA2Client client, List<String> attributes)AttributeRequest(AdminClient adminClient, OA2Client client)AttributeSetClientRequest(AdminClient adminClient, OA2Client client, Map<String,Object> attributes) -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.cm.util.client
Methods in org.oa4mp.server.loader.oauth2.cm.util.client that return OA2Client Modifier and Type Method Description OA2ClientCreateResponse. getClient()OA2ClientGetResponse. getClient()Constructors in org.oa4mp.server.loader.oauth2.cm.util.client with parameters of type OA2Client Constructor Description ApproveRequest(AdminClient adminClient, OA2Client client, Map<String,Object> attributes)ClientRequest(AdminClient adminClient, OA2Client client)CreateRequest(AdminClient adminClient, OA2Client client, Map<String,Object> attributes)CreateResponse(OA2Client client, String secret)GetRequest(AdminClient adminClient, OA2Client client)GetResponse(OA2Client client, boolean isApproved)RemoveRequest(AdminClient adminClient, OA2Client client)UnapproveRequest(AdminClient adminClient, OA2Client client, Map<String,Object> attributes) -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.cm.util.permissions
Methods in org.oa4mp.server.loader.oauth2.cm.util.permissions that return types with arguments of type OA2Client Modifier and Type Method Description List<OA2Client>ListClientResponse. getClients()Constructors in org.oa4mp.server.loader.oauth2.cm.util.permissions with parameters of type OA2Client Constructor Description AddClientRequest(AdminClient adminClient, OA2Client client)ListAdminsRequest(AdminClient adminClient, OA2Client client)ListClientsRequest(AdminClient adminClient, OA2Client client)PermissionRequest(AdminClient adminClient, OA2Client client)RemoveClientRequest(AdminClient adminClient, OA2Client client)Constructor parameters in org.oa4mp.server.loader.oauth2.cm.util.permissions with type arguments of type OA2Client Constructor Description ListClientResponse(List<OA2Client> clients) -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.servlet
Methods in org.oa4mp.server.loader.oauth2.servlet that return OA2Client Modifier and Type Method Description static OA2ClientOA2ClientUtils. createErsatz(edu.uiuc.ncsa.security.core.Identifier provisioningClientID, OA2SE oa2se, OA2Client ersatzClient, List<edu.uiuc.ncsa.security.core.Identifier> ersatzChain)Create an ersatz client given the information about its provenence.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.OA2ClientAbstractAccessTokenServlet2. getClient(javax.servlet.http.HttpServletRequest request)static OA2ClientOA2HeaderUtils. getRFC7523Client(javax.servlet.http.HttpServletRequest request, OA2SE oa2SE)static OA2ClientOA2ClientUtils. resolvePrototypes(org.oa4mp.delegation.server.storage.ClientStore store, OA2Client baseClient)static OA2ClientOA2ClientUtils. resolvePrototypes(OA2SE oa2SE, OA2Client baseClient)protected OA2ClientTokenManagerServlet. verifyClient(javax.servlet.http.HttpServletRequest req, String headerAuthz)Used if the request has basic auth.Methods in org.oa4mp.server.loader.oauth2.servlet with parameters of type OA2Client Modifier and Type Method Description protected booleanRFC7009. checkToken(OA2Client requestingClient, String token)static longClientUtils. computeATLifetime(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)Scorecard:static longClientUtils. computeIDTLifetime(OA2ServiceTransaction st2, OA2Client client, 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. computeRTGracePeriod(OA2Client client, OA2SE oa2SE)static LinkedList<String>OA2ClientUtils. createCallbacksForWebUI(OA2Client client, String rawCBs)This is for use with the web interface.static OA2ClientOA2ClientUtils. createErsatz(edu.uiuc.ncsa.security.core.Identifier provisioningClientID, OA2SE oa2se, OA2Client ersatzClient, List<edu.uiuc.ncsa.security.core.Identifier> ersatzChain)Create an ersatz client given the information about its provenence.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.protected abstract org.oa4mp.delegation.server.request.ATRequestAbstractAccessTokenServlet2. getATRequest(javax.servlet.http.HttpServletRequest request, org.oa4mp.delegation.server.ServiceTransaction transaction, OA2Client client)protected IssuerTransactionStateAbstractAccessTokenServlet2. getIssuerTransactionState(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, AuthorizationGrant updatedAG, org.oa4mp.delegation.server.ServiceTransaction transaction, OA2Client client, edu.uiuc.ncsa.security.storage.XMLMap backup)Default for standard token endpoint call.protected IssuerTransactionStateAbstractAccessTokenServlet2. getIssuerTransactionState(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, AuthorizationGrant updatedAG, org.oa4mp.delegation.server.ServiceTransaction transaction, OA2Client client, edu.uiuc.ncsa.security.storage.XMLMap backup, boolean isRFC8628)static edu.uiuc.ncsa.security.util.jwk.JSONWebKeysOA2TokenUtils. getKeys(OA2SE oa2se, OA2Client client)Get the right set of keys, either from the service environment or the correct virtual organization.voidOA2AuthorizedServletUtil. postprocess(TransactionState transactionState, OA2Client client)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 OA2ClientOA2ClientUtils. resolvePrototypes(org.oa4mp.delegation.server.storage.ClientStore store, OA2Client baseClient)static OA2ClientOA2ClientUtils. resolvePrototypes(OA2SE oa2SE, OA2Client baseClient)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(TransactionState transactionState, OA2Client oa2Client, boolean isRFC8628)This method will take the scopes that the client sends in its request and inspect the scopes that it is allowed to request.static Collection<String>ClientUtils. resolveScopes(TransactionState transactionState, OA2Client oa2Client, boolean isNew, boolean isRFC8628)protected Collection<String>OA2AuthorizedServletUtil. resolveScopes(TransactionState transactionState, OA2Client client)static voidOA2ClientUtils. setupDriverPayloadConfig(AbstractPayloadConfig pc, OA2Client client)Assumes that the configuration for the client is just a qdl script element or list of them.static voidOA2ClientUtils. setupHandlers(org.oa4mp.delegation.server.jwt.HandlerRunner handlerRunner, OA2SE oa2SE, OA2ServiceTransaction transaction, OA2Client client, javax.servlet.http.HttpServletRequest req)static voidOA2ClientUtils. setupHandlers(org.oa4mp.delegation.server.jwt.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)static voidClientUtils. verifyClient(OA2Client client, javax.servlet.http.HttpServletRequest request, boolean isAT)voidMultiAuthServlet. verifyClient(OA2Client client, javax.servlet.http.HttpServletRequest request)voidMultiAuthServlet. verifyClient(OA2Client client, javax.servlet.http.HttpServletRequest request, boolean isAT)static voidClientUtils. verifyClientSecret(OA2Client client, String rawSecret, boolean isAT)This verifies secrets only call if the client has a secret (e.g. do not call this if the client is public).voidMultiAuthServlet. verifyClientSecret(OA2Client client, String rawSecret)static voidOA2HeaderUtils. verifyRFC7523Client(OA2Client client, javax.servlet.http.HttpServletRequest request, OA2SE oa2SE) -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.storage.clients
Classes in org.oa4mp.server.loader.oauth2.storage.clients with type parameters of type OA2Client Modifier and Type Class Description classOA2ClientConverter<V extends OA2Client>Created by Jeff Gaynor
on 3/17/14 at 1:29 PMclassOA2ClientMemoryStore<V extends OA2Client>Created by Jeff Gaynor
on 12/2/16 at 2:09 PMclassOA2ClientProvider<V extends OA2Client>Created by Jeff Gaynor
on 3/14/14 at 12:42 PMMethods in org.oa4mp.server.loader.oauth2.storage.clients that return OA2Client Modifier and Type Method Description OA2ClientOA2Client. clone() -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.storage.transactions
Methods in org.oa4mp.server.loader.oauth2.storage.transactions that return OA2Client Modifier and Type Method Description OA2ClientOA2ServiceTransaction. getOA2Client()Convenience cast. -
Uses of OA2Client in org.oa4mp.server.loader.oauth2.storage.tx
Methods in org.oa4mp.server.loader.oauth2.storage.tx that return OA2Client Modifier and Type Method Description OA2ClientTXRecord. getErsatzClient()Methods in org.oa4mp.server.loader.oauth2.storage.tx with parameters of type OA2Client Modifier and Type Method Description voidTXRecord. setErsatzClient(OA2Client ersatzClient)Constructor parameters in org.oa4mp.server.loader.oauth2.storage.tx with type arguments of type OA2Client Constructor Description TXRecordConverter(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider, org.oa4mp.delegation.server.storage.ClientStore<? extends OA2Client> clientStore) -
Uses of OA2Client in org.oa4mp.server.loader.qdl.claims
Methods in org.oa4mp.server.loader.qdl.claims that return OA2Client Modifier and Type Method Description protected OA2ClientTokenHandlerMethod. getClient()
-