Class PAServer2
- java.lang.Object
-
- org.oa4mp.delegation.server.client.ASImpl
-
- org.oa4mp.delegation.server.client.PAServer2
-
- All Implemented Interfaces:
PAServer
,AddressableServer
,DoubleDispatchServer
,Server
public class PAServer2 extends ASImpl implements PAServer
Handles client call for protected asset (cert?) requestCreated by Jeff Gaynor
on 6/4/13 at 4:33 PM
-
-
Constructor Summary
Constructors Constructor Description PAServer2(edu.uiuc.ncsa.security.servlet.ServiceClient serviceClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PAResponse
getAsset(Client client, Map props, AccessToken accessToken)
Gets assetedu.uiuc.ncsa.security.servlet.ServiceClient
getServiceClient()
PAResponse
processPARequest(PARequest request)
Processes protected asset request-
Methods inherited from class org.oa4mp.delegation.server.client.ASImpl
getAddress, process
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.oa4mp.delegation.common.services.DoubleDispatchServer
process
-
-
-
-
Method Detail
-
getServiceClient
public edu.uiuc.ncsa.security.servlet.ServiceClient getServiceClient()
-
processPARequest
public PAResponse processPARequest(PARequest request)
Processes protected asset request- Specified by:
processPARequest
in interfacePAServer
- Parameters:
request
- PA/cert request- Returns:
- asset
-
getAsset
protected PAResponse getAsset(Client client, Map props, AccessToken accessToken)
Gets asset- Parameters:
client
- Client IDprops
- Map of propertiesaccessToken
- Access token- Returns:
- asset
-
-