Uses of Class
org.oa4mp.delegation.common.storage.clients.BaseClient
-
Packages that use BaseClient Package Description org.oa4mp.delegation.common.storage.clients org.oa4mp.delegation.server This package contains the code that a server will use to implement its delegation abilities.org.oa4mp.delegation.server.client org.oa4mp.delegation.server.storage org.oa4mp.server.admin.oauth2.base org.oa4mp.server.admin.oauth2.tools org.oa4mp.server.api.admin.adminClient org.oa4mp.server.api.admin.things org.oa4mp.server.api.storage.servlet org.oa4mp.server.api.util org.oa4mp.server.loader.oauth2.cm.util org.oa4mp.server.loader.oauth2.loader org.oa4mp.server.loader.oauth2.servlet org.oa4mp.server.loader.oauth2.storage.clients org.oa4mp.server.proxy -
-
Uses of BaseClient in org.oa4mp.delegation.common.storage.clients
Classes in org.oa4mp.delegation.common.storage.clients with type parameters of type BaseClient Modifier and Type Class Description class
BaseClientConverter<V extends BaseClient>
Created by Jeff Gaynor
on 10/20/16 at 12:58 PMSubclasses of BaseClient in org.oa4mp.delegation.common.storage.clients Modifier and Type Class Description class
Client
Models a client.Methods in org.oa4mp.delegation.common.storage.clients that return BaseClient Modifier and Type Method Description BaseClient
BaseClient. clone()
Methods in org.oa4mp.delegation.common.storage.clients with parameters of type BaseClient Modifier and Type Method Description protected void
BaseClient. populateClone(BaseClient c)
protected void
Client. populateClone(BaseClient client)
-
Uses of BaseClient in org.oa4mp.delegation.server
Fields in org.oa4mp.delegation.server declared as BaseClient Modifier and Type Field Description protected BaseClient
OA2GeneralError. client
Methods in org.oa4mp.delegation.server that return BaseClient Modifier and Type Method Description BaseClient
OA2GeneralError. getClient()
BaseClient
UnapprovedClientException. getClient()
Methods in org.oa4mp.delegation.server with parameters of type BaseClient Modifier and Type Method Description void
OA2GeneralError. setClient(BaseClient client)
Constructors in org.oa4mp.delegation.server with parameters of type BaseClient Constructor Description OA2ATException(String error, String description, int httpStatus, String state, BaseClient client)
OA2ATException(String error, String description, int httpStatus, URI errorURI, String state, BaseClient client)
OA2ATException(String error, String description, String state, BaseClient client)
OA2ATException(String error, String description, BaseClient client)
OA2GeneralError(String error, String description, int httpStatus, String state, BaseClient client)
OA2JSONException(String error, String description, int httpStatus, String state, BaseClient client)
OA2RedirectableError(String error, String description, int httpStatus, String state, URI callback, BaseClient client)
OA2RedirectableError(String error, String description, int httpStatus, String state, BaseClient client)
UnapprovedClientException(String message, BaseClient client)
-
Uses of BaseClient in org.oa4mp.delegation.server.client
Methods in org.oa4mp.delegation.server.client with parameters of type BaseClient Modifier and Type Method Description protected static net.sf.json.JSONObject
RFC7523Utils. createBasicJWT(BaseClient client)
Every basic JWT for the assertion and client_assertion (i.e., auth grant and authorization) has the same structure.static String
RFC7523Utils. doInitFlowTokenRequest(edu.uiuc.ncsa.security.servlet.ServiceClient serviceClient, BaseClient adminClient, edu.uiuc.ncsa.security.util.jwk.JSONWebKey adminKey, BaseClient client, URI tokenEndpoint, Map parameters)
Do the token request via the admin client, using one of it's key for signing.static String
RFC7523Utils. doPost(edu.uiuc.ncsa.security.servlet.ServiceClient serviceClient, BaseClient baseClient, URI accessTokenEndpoint, edu.uiuc.ncsa.security.util.jwk.JSONWebKey key, Map parameters)
This creates the authorization request SeeRFC7523Utils.doPost(ServiceClient, BaseClient, URI, String, Map)
static String
RFC7523Utils. doPost(edu.uiuc.ncsa.security.servlet.ServiceClient serviceClient, BaseClient baseClient, URI accessTokenEndpoint, String keyID, Map parameters)
Does a POST to the endpoint using the client's key.static String
RFC7523Utils. doTokenRequest(edu.uiuc.ncsa.security.servlet.ServiceClient serviceClient, BaseClient client, URI tokenEndpoint, String kid, Map parameters)
Creates an authorization grant for the client as per RFC 7523 section 2.1, and the authorization (section 2.2) .protected static edu.uiuc.ncsa.security.util.jwk.JSONWebKey
RFC7523Utils. findKey(BaseClient client, String kid)
Finds the key for signing from the given client using the given key id (kid). -
Uses of BaseClient in org.oa4mp.delegation.server.storage
Classes in org.oa4mp.delegation.server.storage with type parameters of type BaseClient Modifier and Type Class Description class
BaseClientSQLStore<V extends BaseClient>
Created by Jeff Gaynor
on 8/6/21 at 2:44 PMinterface
BaseClientStore<V extends BaseClient>
Created by Jeff Gaynor
on 10/12/16 at 1:19 PM -
Uses of BaseClient in org.oa4mp.server.admin.oauth2.base
Fields in org.oa4mp.server.admin.oauth2.base declared as BaseClient Modifier and Type Field Description BaseClient
BaseClientStoreCommands.ApprovalModsConfig. client
Methods in org.oa4mp.server.admin.oauth2.base that return BaseClient Modifier and Type Method Description protected BaseClient
BaseClientStoreCommands. doApprovalMods(BaseClientStoreCommands.ApprovalModsConfig approvalModsConfig)
If there are modifications to the client before saving its approval (e.g.Methods in org.oa4mp.server.admin.oauth2.base with parameters of type BaseClient Modifier and Type Method Description protected void
BaseClientStoreCommands. approve(BaseClient client)
protected abstract BaseClientStoreCommands.ApprovalModsConfig
BaseClientStoreCommands. createApprovalModsConfig(edu.uiuc.ncsa.security.util.cli.InputLine inputLine, BaseClient client, boolean doPrompt)
protected String
BaseClientStoreCommands. format(BaseClient client, ClientApproval ca)
protected void
BaseClientStoreCommands. getPublicKeyFile(BaseClient client, BaseClientKeys keys)
protected void
BaseClientStoreCommands. getSecret(BaseClient client, BaseClientKeys keys)
Prompt the user for a secret, hashing the result.protected int
BaseClientStoreCommands. longFormat(BaseClient client, ClientApproval clientApproval, boolean isVerbose)
Constructors in org.oa4mp.server.admin.oauth2.base with parameters of type BaseClient Constructor Description ApprovalModsConfig(BaseClient client, boolean doPrompt)
-
Uses of BaseClient in org.oa4mp.server.admin.oauth2.tools
Methods in org.oa4mp.server.admin.oauth2.tools that return BaseClient Modifier and Type Method Description protected BaseClient
OA2AdminClientCommands. doApprovalMods(BaseClientStoreCommands.ApprovalModsConfig approvalModsConfig)
protected BaseClient
OA2ClientCommands. doApprovalMods(BaseClientStoreCommands.ApprovalModsConfig approvalModsConfig)
Methods in org.oa4mp.server.admin.oauth2.tools with parameters of type BaseClient Modifier and Type Method Description protected BaseClientStoreCommands.ApprovalModsConfig
OA2AdminClientCommands. createApprovalModsConfig(edu.uiuc.ncsa.security.util.cli.InputLine inputLine, BaseClient client, boolean doPrompt)
protected BaseClientStoreCommands.ApprovalModsConfig
OA2ClientCommands. createApprovalModsConfig(edu.uiuc.ncsa.security.util.cli.InputLine inputLine, BaseClient client, boolean doPrompt)
Constructors in org.oa4mp.server.admin.oauth2.tools with parameters of type BaseClient Constructor Description AdminApprovalModsConfig(BaseClient client, boolean doPrompt, boolean enableQDL)
OA2ClientApprovalMods(BaseClient client, boolean doPrompt, boolean useStrictScopes)
-
Uses of BaseClient in org.oa4mp.server.api.admin.adminClient
Subclasses of BaseClient in org.oa4mp.server.api.admin.adminClient Modifier and Type Class Description class
AdminClient
Methods in org.oa4mp.server.api.admin.adminClient that return BaseClient Modifier and Type Method Description BaseClient
AdminClient. clone()
Methods in org.oa4mp.server.api.admin.adminClient with parameters of type BaseClient Modifier and Type Method Description protected void
AdminClient. populateClone(BaseClient client)
-
Uses of BaseClient in org.oa4mp.server.api.admin.things
Methods in org.oa4mp.server.api.admin.things that return BaseClient Modifier and Type Method Description static BaseClient
SATFactory. getSubject(net.sf.json.JSONObject json)
static BaseClient
SATFactory. getTarget(net.sf.json.JSONObject json)
Constructors in org.oa4mp.server.api.admin.things with parameters of type BaseClient Constructor Description Request(BaseClient subject, BaseClient target, net.sf.json.JSONObject content)
-
Uses of BaseClient in org.oa4mp.server.api.storage.servlet
Methods in org.oa4mp.server.api.storage.servlet that return BaseClient Modifier and Type Method Description protected BaseClient
AbstractRegistrationServlet. addNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
BaseClient
AbstractRegistrationServlet.ClientRegistrationRetryException. getClient()
BaseClient
AbstractRegistrationServlet.ClientState. getClient()
protected BaseClient
AbstractRegistrationServlet. setupNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Methods in org.oa4mp.server.api.storage.servlet with parameters of type BaseClient Modifier and Type Method Description void
OA4MPServlet. checkClientApproval(BaseClient client)
Checks if the client is approved.static edu.uiuc.ncsa.security.core.util.MetaDebugUtil
OA4MPServlet. createDebugger(BaseClient client)
protected String
AbstractRegistrationServlet. getRequiredParam(javax.servlet.http.HttpServletRequest req, String key, BaseClient client)
protected void
AbstractRegistrationServlet. save(BaseClient client)
Constructors in org.oa4mp.server.api.storage.servlet with parameters of type BaseClient Constructor Description ClientRegistrationRetryException(String message, Throwable cause, BaseClient client)
-
Uses of BaseClient in org.oa4mp.server.api.util
Methods in org.oa4mp.server.api.util that return BaseClient Modifier and Type Method Description BaseClient
ClientDebugUtil. getClient()
BaseClient
NewClientEvent. getClient()
Methods in org.oa4mp.server.api.util with parameters of type BaseClient Modifier and Type Method Description protected Map<String,String>
NewClientNotifier. getReplacements(BaseClient client)
void
ClientDebugUtil. setClient(BaseClient client)
Constructors in org.oa4mp.server.api.util with parameters of type BaseClient Constructor Description ACNewClientEvent(Object source, AdminClient adminClient, BaseClient client)
ClientDebugUtil(BaseClient client)
NewClientEvent(Object source, BaseClient client)
-
Uses of BaseClient in org.oa4mp.server.loader.oauth2.cm.util
Methods in org.oa4mp.server.loader.oauth2.cm.util with parameters of type BaseClient Modifier and Type Method Description static AbstractDDRequest
RequestFactory. createRequest(BaseClient b, Type t, Action a, BaseClient c, net.sf.json.JSON x)
-
Uses of BaseClient in org.oa4mp.server.loader.oauth2.loader
Methods in org.oa4mp.server.loader.oauth2.loader with parameters of type BaseClient Modifier and Type Method Description protected Map<String,String>
OA2NewClientNotifier. getReplacements(BaseClient client)
-
Uses of BaseClient in org.oa4mp.server.loader.oauth2.servlet
Methods in org.oa4mp.server.loader.oauth2.servlet that return BaseClient Modifier and Type Method Description protected BaseClient
OA2AdminRegistrationServlet. addNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static BaseClient
OA2HeaderUtils. findRFC7523Client(javax.servlet.http.HttpServletRequest request, OA2SE oa2SE, net.sf.json.JSONObject json)
Finds the client from the §2.1 JSONRFC7523Constants.CLIENT_ASSERTION
-- admin or regular -- and verifies that it is valid, has been approved etc.static BaseClient
OA2HeaderUtils. getAndVerifyRFC7523Client(javax.servlet.http.HttpServletRequest request, OA2SE oa2SE)
Assumption is that the request has the correctRFC7523Constants.CLIENT_ASSERTION_TYPE
ofRFC7523Constants.ASSERTION_JWT_BEARER
, so we are decoding that.static BaseClient
OA2HeaderUtils. getAndVerifyRFC7523Client(javax.servlet.http.HttpServletRequest request, OA2SE oa2SE, boolean isDeviceFlow)
Just carries out verifying RFC 7523 §2.1.protected BaseClient
OA2AdminRegistrationServlet. setupNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Methods in org.oa4mp.server.loader.oauth2.servlet with parameters of type BaseClient Modifier and Type Method Description protected void
OA2AdminRegistrationServlet. save(BaseClient client)
Constructors in org.oa4mp.server.loader.oauth2.servlet with parameters of type BaseClient Constructor Description OA2ExceptionHandlerThingie(Throwable throwable, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, BaseClient client)
-
Uses of BaseClient in org.oa4mp.server.loader.oauth2.storage.clients
Subclasses of BaseClient in org.oa4mp.server.loader.oauth2.storage.clients Modifier and Type Class Description class
OA2Client
OAuth2 Open ID connect protocol requires that sites register callback uris and that incoming requests must include a callback that matches one of the registered ones.Methods in org.oa4mp.server.loader.oauth2.storage.clients with parameters of type BaseClient Modifier and Type Method Description protected void
OA2Client. populateClone(BaseClient c)
-
Uses of BaseClient in org.oa4mp.server.proxy
Methods in org.oa4mp.server.proxy with parameters of type BaseClient Modifier and Type Method Description protected void
OA2ATServlet. doRFC7523InitiateFlow(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, BaseClient adminBaseClient)
Processes a request from a service client.protected OA2Client
OA2ATServlet. getRFC7523Client(BaseClient baseClient, net.sf.json.JSONObject jsonRequest)
-