Class DefaultResponse
- java.lang.Object
-
- org.apereo.cas.authentication.principal.DefaultResponse
-
- All Implemented Interfaces:
java.io.Serializable
,org.apereo.cas.authentication.principal.Response
public class DefaultResponse extends java.lang.Object implements org.apereo.cas.authentication.principal.Response
Encapsulates a Response to send back for a particular service.- Since:
- 3.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultResponse()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apereo.cas.authentication.principal.Response
getHeaderResponse(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> attributes)
Gets header response.static org.apereo.cas.authentication.principal.Response
getPostResponse(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> attributes)
Gets the post response.static org.apereo.cas.authentication.principal.Response
getRedirectResponse(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> parameters)
Gets the redirect response.
-
-
-
Method Detail
-
getPostResponse
public static org.apereo.cas.authentication.principal.Response getPostResponse(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> attributes)
Gets the post response.- Parameters:
url
- the urlattributes
- the attributes- Returns:
- the post response
-
getHeaderResponse
public static org.apereo.cas.authentication.principal.Response getHeaderResponse(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> attributes)
Gets header response.- Parameters:
url
- the urlattributes
- the attributes- Returns:
- the header response
-
getRedirectResponse
public static org.apereo.cas.authentication.principal.Response getRedirectResponse(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> parameters)
Gets the redirect response.- Parameters:
url
- the urlparameters
- the parameters- Returns:
- the redirect response
-
-