edu.uiuc.ncsa.security.delegation.client.request.PARequest Maven / Gradle / Ivy
package edu.uiuc.ncsa.security.delegation.client.request;
import edu.uiuc.ncsa.security.delegation.client.server.PAServer;
import edu.uiuc.ncsa.security.delegation.services.Response;
import edu.uiuc.ncsa.security.delegation.services.Server;
import edu.uiuc.ncsa.security.delegation.token.AccessToken;
/**
* Created by Jeff Gaynor
* on Apr 13, 2011 at 3:38:19 PM
*/
public class PARequest extends BasicRequest {
public Response process(Server server) {
if (server instanceof PAServer) {
return ((PAServer) server).processPARequest(this);
}
return super.process(server);
}
public AccessToken getAccessToken() {
return accessToken;
}
public void setAccessToken(AccessToken accessToken) {
this.accessToken = accessToken;
}
AccessToken accessToken;
}