Class OA2DiscoveryServlet
- 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.DiscoveryServlet
-
- org.oa4mp.server.loader.oauth2.servlet.OA2DiscoveryServlet
-
- All Implemented Interfaces:
TransactionFilter
,edu.uiuc.ncsa.security.core.Logable
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class OA2DiscoveryServlet extends DiscoveryServlet
Created by Jeff Gaynor
on 12/12/16 at 1:18 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CERTS
static String
CODE_CHALLENGE_METHOD_SUPPORTED
static String
DEVICE_AUTHORIZATION_ENDPOINT
static String
DISCOVERY_PATH_SEPARATOR
static String
ISSUER
static String
OAUTH_AUTHZ_SERVER_PATH
static String
OPENID_CONFIG_PATH
static String
RESPONSE_MODES_SUPPORTED
static String
TOKEN_ENDPOINT
static String
TOKEN_INTROSPECTION_ENDPOINT
static String
TOKEN_REVOCATION_ENDPOINT
static String
TOKEN_REVOCATION_ENDPOINT_AUTH_METHODS_SUPPORTED
static String
USERINFO_ENDPOINT
static String
WELL_KNOWN_PATH
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.DiscoveryServlet
AUTHORIZATION_ENDPOINT, DISCOVERY_PATH, discoveryPagePath, REGISTRATION_ENDPOINT
-
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 OA2DiscoveryServlet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doIt(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
static String
getIssuer(javax.servlet.http.HttpServletRequest request)
protected OA2SE
getOA2SE()
protected VirtualOrganization
getVO(javax.servlet.http.HttpServletRequest req, String requestUri)
protected net.sf.json.JSONObject
setValues(javax.servlet.http.HttpServletRequest request, net.sf.json.JSONObject jsonObject, VirtualOrganization vo)
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.DiscoveryServlet
getDiscoveryPagePath, getRequestURI, getRequestURI, setDiscoveryPagePath, setValues, 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
-
TOKEN_ENDPOINT
public static final String TOKEN_ENDPOINT
- See Also:
- Constant Field Values
-
USERINFO_ENDPOINT
public static final String USERINFO_ENDPOINT
- See Also:
- Constant Field Values
-
TOKEN_INTROSPECTION_ENDPOINT
public static final String TOKEN_INTROSPECTION_ENDPOINT
- See Also:
- Constant Field Values
-
TOKEN_REVOCATION_ENDPOINT
public static final String TOKEN_REVOCATION_ENDPOINT
- See Also:
- Constant Field Values
-
RESPONSE_MODES_SUPPORTED
public static final String RESPONSE_MODES_SUPPORTED
- See Also:
- Constant Field Values
-
TOKEN_REVOCATION_ENDPOINT_AUTH_METHODS_SUPPORTED
public static final String TOKEN_REVOCATION_ENDPOINT_AUTH_METHODS_SUPPORTED
- See Also:
- Constant Field Values
-
ISSUER
public static final String ISSUER
- See Also:
- Constant Field Values
-
DEVICE_AUTHORIZATION_ENDPOINT
public static final String DEVICE_AUTHORIZATION_ENDPOINT
- See Also:
- Constant Field Values
-
OPENID_CONFIG_PATH
public static final String OPENID_CONFIG_PATH
- See Also:
- Constant Field Values
-
OAUTH_AUTHZ_SERVER_PATH
public static final String OAUTH_AUTHZ_SERVER_PATH
- See Also:
- Constant Field Values
-
WELL_KNOWN_PATH
public static final String WELL_KNOWN_PATH
- See Also:
- Constant Field Values
-
CODE_CHALLENGE_METHOD_SUPPORTED
public static final String CODE_CHALLENGE_METHOD_SUPPORTED
- See Also:
- Constant Field Values
-
CERTS
public static final String CERTS
- See Also:
- Constant Field Values
-
DISCOVERY_PATH_SEPARATOR
public static String DISCOVERY_PATH_SEPARATOR
-
-
Method Detail
-
getVO
protected VirtualOrganization getVO(javax.servlet.http.HttpServletRequest req, String requestUri)
-
getOA2SE
protected OA2SE getOA2SE()
-
doIt
protected void doIt(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Throwable
- Overrides:
doIt
in classDiscoveryServlet
- Throws:
Throwable
-
getIssuer
public static String getIssuer(javax.servlet.http.HttpServletRequest request)
-
setValues
protected net.sf.json.JSONObject setValues(javax.servlet.http.HttpServletRequest request, net.sf.json.JSONObject jsonObject, VirtualOrganization vo)
-
-