Class PAIResponse2
- java.lang.Object
-
- org.oa4mp.delegation.server.server.IResponse2
-
- org.oa4mp.delegation.server.server.PAIResponse2
-
- All Implemented Interfaces:
Response
,IssuerResponse
,PAResponse
public class PAIResponse2 extends IResponse2 implements PAResponse
Protected asset (cert) issuer response for OIDC. This has to include the servlet request since the headers have to be processed for various bits of information.Created by Jeff Gaynor
on 6/5/13 at 9:31 AM
-
-
Constructor Summary
Constructors Constructor Description PAIResponse2(boolean isOIDC)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessToken
getAccessToken()
Getter for access tokenMap<String,String>
getAdditionalInformation()
Getter for additional informationProtectedAsset
getProtectedAsset()
Getter for protected asset (cert)void
setAccessToken(AccessToken accessToken)
Setter for access tokenvoid
setAdditionalInformation(Map<String,String> additionalInformation)
Setter for additional informationvoid
setProtectedAsset(ProtectedAsset protectedAsset)
Setter for protected asset (cert)void
write(javax.servlet.http.HttpServletResponse response)
Write cert response to output stream-
Methods inherited from class org.oa4mp.delegation.server.server.IResponse2
getParameters, isOIDC, setIsOIDC, setParameters
-
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.server.request.IssuerResponse
getParameters
-
-
-
-
Method Detail
-
getAccessToken
public AccessToken getAccessToken()
Getter for access token- Specified by:
getAccessToken
in interfacePAResponse
- Returns:
- access token associated with request
-
setAccessToken
public void setAccessToken(AccessToken accessToken)
Setter for access token- Parameters:
accessToken
- Access token to use
-
getProtectedAsset
public ProtectedAsset getProtectedAsset()
Getter for protected asset (cert)- Specified by:
getProtectedAsset
in interfacePAResponse
- Returns:
- protected asset
-
setProtectedAsset
public void setProtectedAsset(ProtectedAsset protectedAsset)
Setter for protected asset (cert)- Specified by:
setProtectedAsset
in interfacePAResponse
- Parameters:
protectedAsset
- Protected asset
-
getAdditionalInformation
public Map<String,String> getAdditionalInformation()
Getter for additional information- Specified by:
getAdditionalInformation
in interfacePAResponse
- Returns:
- Map containing addition information (param, value)
-
setAdditionalInformation
public void setAdditionalInformation(Map<String,String> additionalInformation)
Setter for additional information- Specified by:
setAdditionalInformation
in interfacePAResponse
- Parameters:
additionalInformation
- Additional information Map (param, value)
-
write
public void write(javax.servlet.http.HttpServletResponse response) throws IOException
Write cert response to output stream- Specified by:
write
in interfaceIssuerResponse
- Parameters:
response
- Response to write to- Throws:
IOException
-
-