public class OA2RegistrationServlet extends AbstractRegistrationServlet
Created by Jeff Gaynor
on 3/20/14 at 4:48 PM
AbstractRegistrationServlet.ClientRegistrationRetryException, AbstractRegistrationServlet.ClientState
Modifier and Type | Field and Description |
---|---|
static String |
CALLBACK_URI |
static String |
ISSUER_NAME |
static String |
LDAP_NAME |
protected static SecureRandom |
random |
static String |
REFRESH_TOKEN_FIELD_VISIBLE |
static String |
REFRESH_TOKEN_LIFETIME |
static String |
SCOPES_NAME |
static String |
VO_NAME |
CLIENT_ACTION_KEY, CLIENT_ACTION_REQUEST_VALUE, CLIENT_CALLBACK_URI, 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
caThread, ERROR_NOTIFICATION_BODY_KEY, ERROR_NOTIFICATION_SUBJECT_KEY, kpt, myproxyConnectionCache, myproxyConnectionCleanup, transactionCleanup
storeUpdatesDone
environment, initialization, PING_PARAMETER
Constructor and Description |
---|
OA2RegistrationServlet() |
Modifier and Type | Method and Description |
---|---|
protected Client |
addNewClient(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Client |
addNewClient(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean fireClientEvents) |
protected OA2SE |
getOA2SE() |
void |
prepare(PresentableState state)
This is invoked before the main processing for this servlet.
|
void |
present(PresentableState state)
We override this to set the client secret to be displayed at registration time.
|
protected void |
setRetryParameters(javax.servlet.http.HttpServletRequest request,
RetryException r)
Sets the parameters from the request so they can be passed back.
|
protected Client |
setupNewClient(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doIt, fireNewClientEvent, getErrorPage, getInitPage, getOKPage, getParameter, getRequiredParam, getState, getValueTag, handleError, save, verifyAndGet
addNotificationListener, checkClientApproval, destroy, getAGI, getATI, getClient, getClient, getClient, getFirstParameters, getGrantIDFromRequest, getMPConnection, getMPConnection, getMyproxyConnectionCache, getMyproxyServices, getServiceEnvironment, getTransaction, getTransactionByGrantID, getTransactionStore, hasMPConnection, hasMPConnection, isEmpty, loadProperties2, newTransaction, postprocess, preprocess, realStoreUpdates, removeNotificationListener, say, shutdownCleanup, storeUpdates
loadEnvironment, processStoreCheck
CONST, debug, doGet, doPing, doPost, error, getConfigurationLoader, getEnvironment, getExceptionHandler, getFirstParameterValue, getInitialization, getMyLogger, handleException, info, init, isDebugOn, printAllParameters, resetState, setConfigurationLoader, setDebugOn, setEnvironment, setExceptionHandler, setInitialization, warn
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected static SecureRandom random
public static final String CALLBACK_URI
public static final String REFRESH_TOKEN_LIFETIME
public static final String REFRESH_TOKEN_FIELD_VISIBLE
public static final String VO_NAME
public static final String LDAP_NAME
public static final String ISSUER_NAME
public static final String SCOPES_NAME
protected OA2SE getOA2SE()
public void prepare(PresentableState state) throws Throwable
Presentable
prepare
in interface Presentable
prepare
in class AbstractRegistrationServlet
Throwable
protected Client setupNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Throwable
setupNewClient
in class AbstractRegistrationServlet
Throwable
protected Client addNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean fireClientEvents) throws Throwable
Throwable
protected Client addNewClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Throwable
addNewClient
in class AbstractRegistrationServlet
Throwable
public void present(PresentableState state) throws Throwable
present
in interface Presentable
present
in class AbstractRegistrationServlet
state
- Throwable
protected void setRetryParameters(javax.servlet.http.HttpServletRequest request, RetryException r)
AbstractRegistrationServlet
setRetryParameters
in class AbstractRegistrationServlet
Copyright © 2019. All Rights Reserved.