Class OA2AdminRegistrationServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.uiuc.ncsa.security.servlet.AbstractServlet
-
- org.oa4mp.server.api.servlet.storage.EnvServlet
-
- org.oa4mp.server.api.servlet.storage.MyProxyDelegationServlet
-
- org.oa4mp.server.api.servlet.storage.AbstractRegistrationServlet
-
- org.oa4mp.server.loader.oauth2.servlet.OA2AdminRegistrationServlet
-
- All Implemented Interfaces:
TransactionFilter
,edu.uiuc.ncsa.security.core.Logable
,edu.uiuc.ncsa.security.servlet.Presentable
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class OA2AdminRegistrationServlet extends AbstractRegistrationServlet
Created by Jeff Gaynor
on 4/9/19 at 1:39 PM- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.AbstractRegistrationServlet
AbstractRegistrationServlet.ClientRegistrationRetryException, AbstractRegistrationServlet.ClientState
-
-
Field Summary
Fields Modifier and Type Field Description static String
ISSUER_NAME
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.AbstractRegistrationServlet
CLIENT_ACTION_KEY, CLIENT_ACTION_REQUEST_VALUE, CLIENT_EMAIL, CLIENT_ERROR_URL, CLIENT_HOME_URL, CLIENT_IS_PUBLIC, CLIENT_NAME, CLIENT_PROXY_LIMITED, CLIENT_PUBLIC_KEY, emailPattern, ERROR_PAGE, ERROR_STATE, INIT_PAGE, INITIAL_STATE, OK_PAGE, REQUEST_STATE
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.MyProxyDelegationServlet
caThread, kpt, lastAccessedThread, myproxyConnectionCache, myproxyConnectionCleanup, transactionCleanup
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.EnvServlet
ERROR_NOTIFICATION_BODY_KEY, ERROR_NOTIFICATION_SUBJECT_KEY, notificationListeners, storeUpdatesDone
-
-
Constructor Summary
Constructors Constructor Description OA2AdminRegistrationServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BaseClient
addNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected String
getInitPage()
protected String
getOKPage()
void
prepare(edu.uiuc.ncsa.security.servlet.PresentableState state)
void
present(edu.uiuc.ncsa.security.servlet.PresentableState state)
protected void
save(BaseClient client)
protected BaseClient
setupNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.AbstractRegistrationServlet
doIt, fireNewClientEvent, getErrorPage, getParameter, getRequiredParam, getState, getValueTag, handleError, setRetryParameters, verifyAndGet
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.MyProxyDelegationServlet
checkClientApproval, createDebugger, destroy, getAGI, getATI, getClient, getClient, getClient, getFirstParameters, getGrantIDFromRequest, getMPConnection, getMPConnection, getMyproxyConnectionCache, getMyproxyServices, getServiceEnvironment, getTransaction, getTransactionByGrantID, getTransactionStore, hasMPConnection, hasMPConnection, isEmpty, loadProperties2, newTransaction, postprocess, preprocess, realStoreUpdates, say, shutdownCleanup, storeUpdates
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.EnvServlet
addNotificationListener, loadEnvironment, processStoreCheck, removeNotificationListener
-
Methods inherited from class edu.uiuc.ncsa.security.servlet.AbstractServlet
checkContentType, CONST, debug, doGet, doPing, doPost, error, error, getConfigurationLoader, getEnvironment, getExceptionHandler, getFirstParameterValue, getInitialization, getMyLogger, handleException, info, init, isDebugOn, printAllParameters, printAllParameters, resetState, setConfigurationLoader, setDebugOn, setEnvironment, setExceptionHandler, setInitialization, warn
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
ISSUER_NAME
public static final String ISSUER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInitPage
protected String getInitPage()
- Overrides:
getInitPage
in classAbstractRegistrationServlet
-
getOKPage
protected String getOKPage()
- Overrides:
getOKPage
in classAbstractRegistrationServlet
-
setupNewClient
protected BaseClient setupNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Throwable
- Overrides:
setupNewClient
in classAbstractRegistrationServlet
- Throws:
Throwable
-
addNewClient
protected BaseClient addNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Throwable
- Overrides:
addNewClient
in classAbstractRegistrationServlet
- Throws:
Throwable
-
save
protected void save(BaseClient client)
- Overrides:
save
in classAbstractRegistrationServlet
-
present
public void present(edu.uiuc.ncsa.security.servlet.PresentableState state) throws Throwable
- Specified by:
present
in interfaceedu.uiuc.ncsa.security.servlet.Presentable
- Overrides:
present
in classAbstractRegistrationServlet
- Throws:
Throwable
-
prepare
public void prepare(edu.uiuc.ncsa.security.servlet.PresentableState state) throws Throwable
- Specified by:
prepare
in interfaceedu.uiuc.ncsa.security.servlet.Presentable
- Overrides:
prepare
in classAbstractRegistrationServlet
- Throws:
Throwable
-
-