public class AbstractAuthorizationServletImpl extends AbstractAuthorizationServlet
Created by Jeff Gaynor
on 2/7/14 at 11:44 AM
AbstractAuthorizationServlet.AuthorizedState, AbstractAuthorizationServlet.MyMyProxyLogon
AUTHORIZATION_ACTION_KEY, AUTHORIZATION_ACTION_OK, AUTHORIZATION_ACTION_OK_VALUE, AUTHORIZATION_ACTION_START, AUTHORIZATION_PASSWORD_KEY, AUTHORIZATION_USER_NAME_KEY, AUTHORIZATION_USER_NAME_VALUE, ERROR_PAGE, INITIAL_PAGE, OK_PAGE, REMOTE_USER_INITIAL_PAGE, RETRY_MESSAGE
caThread, ERROR_NOTIFICATION_BODY_KEY, ERROR_NOTIFICATION_SUBJECT_KEY, kpt, myproxyConnectionCache, myproxyConnectionCleanup, transactionCleanup
storeUpdatesDone
environment, initialization, PING_PARAMETER
Constructor and Description |
---|
AbstractAuthorizationServletImpl() |
Modifier and Type | Method and Description |
---|---|
String |
createCallback(ServiceTransaction trans,
Map<String,String> params)
This will take whatever the passed in callback from the client is and append any parameters needed.
|
protected void |
doRealCertRequest(ServiceTransaction trans,
String statusString)
Spec says we do the cert request in the authorization servlet.
|
protected AccessToken |
getAccessToken(javax.servlet.http.HttpServletRequest request)
There are various requirements for transmitting the access token, so specific methods have to be used.
|
protected void |
setupMPConnection(ServiceTransaction trans,
String username,
String password) |
createRedirect, doIt, getAndCheckTransaction, getParam, getState, handleError, prepare, present, setClientRequestAttributes, verifyAndGet
createMPConnection, createMPConnection, doCertRequest, getX509Certificates
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 AccessToken getAccessToken(javax.servlet.http.HttpServletRequest request)
CRServlet
getAccessToken
in class CRServlet
public String createCallback(ServiceTransaction trans, Map<String,String> params)
AbstractAuthorizationServlet
createCallback
in class AbstractAuthorizationServlet
protected void doRealCertRequest(ServiceTransaction trans, String statusString) throws Throwable
doRealCertRequest
in class CRServlet
trans
- statusString
- Throwable
protected void setupMPConnection(ServiceTransaction trans, String username, String password) throws GeneralSecurityException
setupMPConnection
in class AbstractAuthorizationServlet
GeneralSecurityException
Copyright © 2019. All Rights Reserved.