Class RFC7662
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.uiuc.ncsa.security.servlet.AbstractServlet
-
- All Implemented Interfaces:
TransactionFilter
,RFC7662Constants
,edu.uiuc.ncsa.security.core.Logable
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class RFC7662 extends TokenManagerServlet
The token introspection servlet This implements RFC7662Created by Jeff Gaynor
on 2/17/20 at 2:10 PM- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.servlet.TokenManagerServlet
TokenManagerServlet.State
-
-
Field Summary
-
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
-
Fields inherited from class edu.uiuc.ncsa.security.servlet.AbstractServlet
environment, initialization, PING_PARAMETER
-
Fields inherited from interface edu.uiuc.ncsa.oa4mp.delegation.oa2.server.RFC7662Constants
ACTIVE, TOKEN, TOKEN_TYPE, TOKEN_TYPE_HINT, TYPE_ACCESS_TOKEN, TYPE_REFRESH_TOKEN, USERNAME
-
-
Constructor Summary
Constructors Constructor Description RFC7662()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doIt(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
protected void
populateResponse(TokenManagerServlet.State state, net.sf.json.JSONObject json)
Used for the case that the response is for an active token.-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.servlet.TokenManagerServlet
checkBasic, checkBearer, doGet, getTokenType, getTransFromToken, verifyAndGet, verifyClient, writeOK
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.servlet.BearerTokenServlet
findTransaction
-
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, 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
-
-
-
-
Method Detail
-
doIt
protected void doIt(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws Throwable
- Specified by:
doIt
in classedu.uiuc.ncsa.security.servlet.AbstractServlet
- Throws:
Throwable
-
populateResponse
protected void populateResponse(TokenManagerServlet.State state, net.sf.json.JSONObject json)
Used for the case that the response is for an active token.- Parameters:
state
-json
-
-
-