Uses of Class
org.oa4mp.server.loader.oauth2.storage.clients.OA2Client
-
-
Uses of OA2Client in org.oa4mp.server.admin.oauth2.tools
Methods in org.oa4mp.server.admin.oauth2.tools with parameters of type OA2Client Modifier and Type Method Description protected void
OA2ClientCommands. linkErsatz(OA2Client provisioner, edu.uiuc.ncsa.security.core.Identifier adminID, List<edu.uiuc.ncsa.security.core.Identifier> ersatz)
protected void
OA2ClientCommands. unlinkErsatz(OA2Client provisioner, edu.uiuc.ncsa.security.core.Identifier adminID, List<edu.uiuc.ncsa.security.core.Identifier> ersatz)
-
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 OA2Client
AbstractPayloadHandler. client
Methods in org.oa4mp.server.loader.oauth2.claims that return OA2Client Modifier and Type Method Description OA2Client
PayloadHandlerConfigImpl. getClient()
Get the client associated with this.protected OA2Client
OA2ClaimsUtil. getOA2Client()
Deprecated.Methods in org.oa4mp.server.loader.oauth2.claims with parameters of type OA2Client Modifier and Type Method Description void
PayloadHandlerConfigImpl. 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 OA2Client
OIDCCMServlet. getAndCheckOA2Client(javax.servlet.http.HttpServletRequest request)
protected OA2Client
OIDCCMServlet. getClient(javax.servlet.http.HttpServletRequest req)
Get the client from the request.protected OA2Client
OIDCCMServlet. processRegistrationRequest(net.sf.json.JSONObject jsonRequest, AdminClient adminClient, boolean isAnonymous, OA2Client client, String version)
protected OA2Client
OIDCCMServlet. 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 void
OIDCCMServlet. 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 void
OIDCCMServlet. handleGrants(OA2Client client, net.sf.json.JSONObject jsonRequest, OA2ClientKeys keys)
protected void
OIDCCMServlet. 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 OA2Client
OIDCCMServlet. processRegistrationRequest(net.sf.json.JSONObject jsonRequest, AdminClient adminClient, boolean isAnonymous, OA2Client client, String version)
protected net.sf.json.JSONArray
OIDCCMServlet. toJSONArray(net.sf.json.JSONObject jsonRequest, String key, OA2Client client)
protected net.sf.json.JSONObject
OIDCCMServlet. toJSONObject(OA2Client client, String version, boolean isGet)
Take a client and turn it in to a response object.protected net.sf.json.JSONObject
OIDCCMServlet. toJSONObject5_4(OA2Client client, boolean isGet)
protected net.sf.json.JSONObject
OIDCCMServlet. toJSONObject5_5(OA2Client client, boolean isGet)
protected OA2Client
OIDCCMServlet. 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 OA2Client
AbstractDDRequest. client
OA2Client
RequestFactory.RequestObject. client
Methods in org.oa4mp.server.loader.oauth2.cm.util that return OA2Client Modifier and Type Method Description OA2Client
AbstractDDRequest. getClient()
protected OA2Client
AbstractDDServer. 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 ACGetRequest
RequestFactory. createRequest(AdminClient adminClient, TypeAdmin typeClient, ActionGet actionGet, OA2Client client, net.sf.json.JSON json)
static AttributeGetRequest
RequestFactory. createRequest(AdminClient aSubj, TypeAttribute typeAttribute, ActionGet actionGet, OA2Client cTarget, net.sf.json.JSON content)
static AttributeRemoveRequest
RequestFactory. createRequest(AdminClient aSubj, TypeAttribute typeAttribute, ActionRemove actionRemove, OA2Client cTarget, net.sf.json.JSON content)
static AttributeSetClientRequest
RequestFactory. createRequest(AdminClient aSubj, TypeAttribute typeAttribute, ActionSet actionSet, OA2Client cTarget, net.sf.json.JSON content)
static ApproveRequest
RequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionApprove actionApprove, OA2Client client, net.sf.json.JSON json)
static CreateRequest
RequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionCreate actionCreate, OA2Client client, net.sf.json.JSON json)
static GetRequest
RequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionGet actionGet, OA2Client client, net.sf.json.JSON json)
static RemoveRequest
RequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionRemove actionRemove, OA2Client client, net.sf.json.JSON json)
static UnapproveRequest
RequestFactory. createRequest(AdminClient adminClient, TypeClient typeClient, ActionUnapprove actionUnapprove, OA2Client client, net.sf.json.JSON json)
static AddClientRequest
RequestFactory. createRequest(AdminClient adminClient, TypePermission typeP, ActionAdd acreate, OA2Client client, net.sf.json.JSON json)
static PermissionRequest
RequestFactory. createRequest(AdminClient adminClient, TypePermission typeP, ActionList aList, OA2Client client, net.sf.json.JSON json)
static RemoveClientRequest
RequestFactory. createRequest(AdminClient adminClient, TypePermission typeP, ActionRemove actionRemove, OA2Client client, net.sf.json.JSON json)
protected OA2Client
AbstractDDServer. 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 OA2Client
CreateResponse. getClient()
OA2Client
GetResponse. 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 OA2Client
OA2ClientUtils. 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 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.OA2Client
AbstractAccessTokenServlet2. getClient(javax.servlet.http.HttpServletRequest request)
static OA2Client
OA2HeaderUtils. getRFC7523Client(javax.servlet.http.HttpServletRequest request, OA2SE oa2SE)
static OA2Client
OA2ClientUtils. resolvePrototypes(ClientStore store, OA2Client baseClient)
static OA2Client
OA2ClientUtils. resolvePrototypes(OA2SE oa2SE, OA2Client baseClient)
protected OA2Client
TokenManagerServlet. 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 boolean
RFC7009. checkToken(OA2Client requestingClient, String token)
static long
ClientUtils. computeATLifetime(OA2ServiceTransaction st2, OA2Client client, OA2SE oa2SE)
Scorecard:static long
ClientUtils. computeIDTLifetime(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. computeRTGracePeriod(OA2Client client, OA2SE oa2SE)
static LinkedList<String>
OA2ClientUtils. createCallbacksForWebUI(OA2Client client, String rawCBs)
This is for use with the web interface.static OA2Client
OA2ClientUtils. 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 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.protected abstract ATRequest
AbstractAccessTokenServlet2. getATRequest(javax.servlet.http.HttpServletRequest request, ServiceTransaction transaction, OA2Client client)
protected IssuerTransactionState
AbstractAccessTokenServlet2. getIssuerTransactionState(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, AuthorizationGrant updatedAG, ServiceTransaction transaction, OA2Client client, edu.uiuc.ncsa.security.storage.XMLMap backup)
Default for standard token endpoint call.protected IssuerTransactionState
AbstractAccessTokenServlet2. getIssuerTransactionState(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, AuthorizationGrant updatedAG, ServiceTransaction transaction, OA2Client client, edu.uiuc.ncsa.security.storage.XMLMap backup, boolean isRFC8628)
static edu.uiuc.ncsa.security.util.jwk.JSONWebKeys
OA2TokenUtils. getKeys(OA2SE oa2se, OA2Client client)
Get the right set of keys, either from the service environment or the correct virtual organization.void
OA2AuthorizedServletUtil. postprocess(TransactionState transactionState, OA2Client client)
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 OA2Client
OA2ClientUtils. resolvePrototypes(ClientStore store, OA2Client baseClient)
static OA2Client
OA2ClientUtils. 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 void
OA2ClientUtils. setupDriverPayloadConfig(AbstractPayloadConfig pc, OA2Client client)
Assumes that the configuration for the client is just a qdl script element or list of them.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)
static void
ClientUtils. verifyClient(OA2Client client, javax.servlet.http.HttpServletRequest request, boolean isAT)
void
MultiAuthServlet. verifyClient(OA2Client client, javax.servlet.http.HttpServletRequest request)
void
MultiAuthServlet. verifyClient(OA2Client client, javax.servlet.http.HttpServletRequest request, boolean isAT)
static void
ClientUtils. verifyClientSecret(OA2Client client, String rawSecret, boolean isAT)
This verifies secrets only call if the client has a secret (e.g.void
MultiAuthServlet. verifyClientSecret(OA2Client client, String rawSecret)
static void
OA2HeaderUtils. 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 class
OA2ClientConverter<V extends OA2Client>
Created by Jeff Gaynor
on 3/17/14 at 1:29 PMclass
OA2ClientMemoryStore<V extends OA2Client>
Created by Jeff Gaynor
on 12/2/16 at 2:09 PMclass
OA2ClientProvider<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 OA2Client
OA2Client. 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 OA2Client
OA2ServiceTransaction. 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 OA2Client
TXRecord. getErsatzClient()
Methods in org.oa4mp.server.loader.oauth2.storage.tx with parameters of type OA2Client Modifier and Type Method Description void
TXRecord. 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, 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 OA2Client
TokenHandlerMethod. getClient()
-
Uses of OA2Client in org.oa4mp.server.proxy
Fields in org.oa4mp.server.proxy declared as OA2Client Modifier and Type Field Description OA2Client
OA2ATServlet.RFC8693Thingie. client
Methods in org.oa4mp.server.proxy that return OA2Client Modifier and Type Method Description protected OA2Client
OA2ATServlet. createErsatz(edu.uiuc.ncsa.security.core.Identifier provisioningClientID, OA2Client ersatzClient, List<edu.uiuc.ncsa.security.core.Identifier> ersatzChain)
Takes a substitution chain and does the overrides.protected OA2Client
OA2ATServlet. getRFC7523Client(BaseClient baseClient, net.sf.json.JSONObject jsonRequest)
Methods in org.oa4mp.server.proxy with parameters of type OA2Client 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 OA2Client
OA2ATServlet. createErsatz(edu.uiuc.ncsa.security.core.Identifier provisioningClientID, OA2Client ersatzClient, List<edu.uiuc.ncsa.security.core.Identifier> ersatzChain)
Takes a substitution chain and does the overrides.protected IssuerTransactionState
OA2ATServlet. doAT(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, OA2Client client)
protected IssuerTransactionState
OA2ATServlet. doAT(IssuerTransactionState state, OA2Client client)
protected TransactionState
OA2ATServlet. doNEWRefresh(OA2Client client, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected TransactionState
OA2ATServlet. doRefresh(OA2Client client, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void
OA2ATServlet. doRFC6749_4_4(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, OA2Client client)
protected void
OA2ATServlet. doRFC7523(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, OA2Client client)
Processes a request from a service client.protected void
OA2ATServlet. doRFC8628(OA2Client client, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
device flowprotected ATRequest
OA2ATServlet. getATRequest(javax.servlet.http.HttpServletRequest request, ServiceTransaction transaction, OA2Client client)
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. -
Uses of OA2Client in org.oa4mp.server.qdl
Methods in org.oa4mp.server.qdl with parameters of type OA2Client Modifier and Type Method Description protected org.qdl_lang.variables.QDLStem
ClientManagementCommands. toStem(OA2Client client)
-
Uses of OA2Client in org.oa4mp.server.qdl.storage
Classes in org.oa4mp.server.qdl.storage with type parameters of type OA2Client Modifier and Type Class Description class
ClientStemMC<V extends OA2Client>
AStemConverter
to convert stems and clients.
-