Class OA2DiscoveryServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.uiuc.ncsa.security.servlet.AbstractServlet
-
- org.oa4mp.server.api.storage.servlet.EnvServlet
-
- org.oa4mp.server.api.storage.servlet.OA4MPServlet
-
- org.oa4mp.server.api.storage.servlet.DiscoveryServlet
-
- org.oa4mp.server.loader.oauth2.servlet.OA2DiscoveryServlet
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Logable
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,TransactionFilter
,OIDCDiscoveryTags
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
DISCOVERY_PATH_SEPARATOR
-
Fields inherited from class org.oa4mp.server.api.storage.servlet.DiscoveryServlet
DEFAULT_REGISTRATION_ENDPOINT, DISCOVERY_PATH, discoveryPagePath
-
Fields inherited from class org.oa4mp.server.api.storage.servlet.OA4MPServlet
caThread, kpt, lastAccessedThread, transactionCleanup
-
Fields inherited from class org.oa4mp.server.api.storage.servlet.EnvServlet
ERROR_NOTIFICATION_BODY_KEY, ERROR_NOTIFICATION_SUBJECT_KEY, notificationListeners, storeUpdatesDone
-
Fields inherited from class edu.uiuc.ncsa.security.servlet.AbstractServlet
environment, initialization, IP_HEADERS, PING_PARAMETER
-
Fields inherited from interface org.oa4mp.delegation.server.OIDCDiscoveryTags
AUTHORIZATION_ENDPOINT, AUTHORIZATION_ENDPOINT_DEFAULT, CODE_CHALLENGE_METHOD_SUPPORTED, DEVICE_AUTHORIZATION_ENDPOINT, DEVICE_AUTHORIZATION_ENDPOINT_DEFAULT, INTROSPECTION_ENDPOINT_DEFAULT, ISSUER, JWKS_CERTS, JWKS_URI, OAUTH_AUTHZ_SERVER_PATH, OPENID_CONFIG_PATH, REGISTRATION_ENDPOINT, REQUEST_PARAMETER_SUPPORTED, REQUEST_URI_PARAMETER_SUPPORTED, RESPONSE_MODES_SUPPORTED, REVOCATION_ENDPOINT_DEFAULT, TOKEN_ENDPOINT, TOKEN_ENDPOINT_DEFAULT, TOKEN_INTROSPECTION_ENDPOINT, TOKEN_REVOCATION_ENDPOINT, TOKEN_REVOCATION_ENDPOINT_AUTH_METHODS_SUPPORTED, USER_INFO_ENDPOINT_DEFAULT, USERINFO_ENDPOINT, WELL_KNOWN_PATH
-
-
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 VirtualIssuer
getVI(javax.servlet.http.HttpServletRequest req, String requestUri)
protected net.sf.json.JSONObject
setValues(javax.servlet.http.HttpServletRequest request, net.sf.json.JSONObject jsonObject, VirtualIssuer vo)
-
Methods inherited from class org.oa4mp.server.api.storage.servlet.DiscoveryServlet
getDiscoveryPagePath, getRequestURI, getRequestURI, setDiscoveryPagePath, setValues, verifyAndGet
-
Methods inherited from class org.oa4mp.server.api.storage.servlet.OA4MPServlet
checkAdminClientStatus, checkClientApproval, createDebugger, destroy, getAGI, getATI, getClient, getClient, getClient, getFirstParameters, getFirstParameterValue, getGrantIDFromRequest, getServiceEnvironment, getTransaction, getTransactionByGrantID, getTransactionStore, isEmpty, loadProperties2, newTransaction, postprocess, preprocess, realStoreUpdates, say, shutdownCleanup, storeUpdates
-
Methods inherited from class org.oa4mp.server.api.storage.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, getInitialization, getMyLogger, getRequestIPAddress, handleException, info, init, isDebugOn, logOK, logOK, 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
-
DISCOVERY_PATH_SEPARATOR
public static String DISCOVERY_PATH_SEPARATOR
-
-
Method Detail
-
getVI
protected VirtualIssuer getVI(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, VirtualIssuer vo)
-
-