Class AGServer2
- java.lang.Object
-
- org.oa4mp.delegation.server.client.ASImpl
-
- org.oa4mp.delegation.server.client.AGServer2
-
- All Implemented Interfaces:
AGServer,org.oa4mp.delegation.common.services.AddressableServer,org.oa4mp.delegation.common.services.DoubleDispatchServer,org.oa4mp.delegation.common.services.Server,OA2Constants
public class AGServer2 extends ASImpl implements AGServer, OA2Constants
This class manages the client call to the authorization grant serverCreated by Jeff Gaynor
on 6/4/13 at 4:27 PM
-
-
Field Summary
Fields Modifier and Type Field Description static intSTATE_LENGTHThe number of bytes in the random state string sent to the server.-
Fields inherited from interface org.oa4mp.delegation.server.OA2Constants
ACCESS_TOKEN, ACCESS_TOKEN_LIFETIME, ACCESS_TYPE, AUTH_GRANT_TOKEN_LIFETIME, AUTHORIZATION_CODE, AUTHORIZATION_CODE_VALUE, AUTHORIZATION_STATE, AUTHORIZATION_TIME, BEARER_TOKEN_TYPE, CERT_LIFETIME, CERT_REQ, CLIENT_ID, CLIENT_SECRET, DESCRIPTION, DISPLAY, DISPLAY_PAGE, DISPLAY_POPUP, DISPLAY_TOUCH, DISPLAY_WAP, EA_SUPPORT, ERROR, ERROR_DESCRIPTION, ERROR_URI, EXPIRES_IN, FORM_ENCODING, GRANT_TYPE, GRANT_TYPE_AUTHORIZATION_CODE, GRANT_TYPE_CLIENT_CREDENTIALS, GRANT_TYPE_DEVICE_FLOW, GRANT_TYPE_IMPLICIT, GRANT_TYPE_REFRESH_TOKEN, GRANT_TYPE_TOKEN_INFO, ID_TOKEN, ID_TOKEN_HINT, ID_TOKEN_IDENTIFIER, ID_TOKEN_LIFETIME, MAX_ACCESS_TOKEN_LIFETIME, MAX_AGE, MAX_ID_TOKEN_LIFETIME, MAX_REFRESH_LIFETIME, NONCE, PROMPT, PROMPT_CONSENT, PROMPT_LOGIN, PROMPT_NONE, PROMPT_SELECT_ACCOUNT, REDIRECT_URI, REFRESH_LIFETIME, REFRESH_TOKEN, REQUEST, REQUEST_URI, RESPONSE_MODE, RESPONSE_MODE_FORM_POST, RESPONSE_MODE_FRAGMENT, RESPONSE_MODE_QUERY, RESPONSE_TYPE, RESPONSE_TYPE_CODE, RESPONSE_TYPE_ID_TOKEN, RESPONSE_TYPE_NONE, RESPONSE_TYPE_TOKEN, SCOPE, SKIP_SERVER_SCRIPTS, STATE, STRICT_SCOPES, TOKEN_ENDPOINT_AUTH_BASIC, TOKEN_ENDPOINT_AUTH_NONE, TOKEN_ENDPOINT_AUTH_POST, TOKEN_ENDPOINT_AUTH_PRIVATE_KEY, TOKEN_TYPE
-
-
Constructor Summary
Constructors Constructor Description AGServer2(edu.uiuc.ncsa.security.servlet.ServiceClient serviceClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.uiuc.ncsa.security.servlet.ServiceClientgetServiceClient()AGResponseprocessAGRequest(AGRequest agRequest)Accepts AGRequest, obtains auth code, packs said authCode into AGResponse and returns AGResponse-
Methods inherited from class org.oa4mp.delegation.server.client.ASImpl
getAddress, process
-
-
-
-
Method Detail
-
getServiceClient
public edu.uiuc.ncsa.security.servlet.ServiceClient getServiceClient()
-
processAGRequest
public AGResponse processAGRequest(AGRequest agRequest)
Accepts AGRequest, obtains auth code, packs said authCode into AGResponse and returns AGResponse- Specified by:
processAGRequestin interfaceAGServer- Parameters:
agRequest- Authorization grant request- Returns:
- Authorization grant response
-
-