public class AuthXMLResponse extends Object
Constructor and Description |
---|
AuthXMLResponse(int requestType)
Creates
AuthXMLResponse object |
Modifier and Type | Method and Description |
---|---|
String |
createXMLErrorString()
Returns error XML string
|
String |
getXMLForQueryInfo()
Returns XML for query information.
|
void |
setAuthContext(AuthContextLocal authContext)
Sets the authentication context.
|
void |
setAuthIdentifier(String authIdentifier)
Sets the authentication identifier.
|
void |
setAuthXMLRequest(AuthXMLRequest authXMLReq) |
void |
setErrorCode(String errorCode)
Sets the error code.
|
void |
setErrorMessage(String msg)
Sets Error Message.
|
void |
setErrorTemplate(String template)
Sets Template.
|
void |
setFailureURL(String failureURL)
Sets the failure URL.
|
void |
setIsException(boolean isException)
Sets if exception was thrown.
|
void |
setLoginStatus(AuthContext.Status loginStatus)
Sets the login status.
|
void |
setModuleNames(Set moduleNames)
Sets the module names.
|
void |
setOldSession(InternalSession aOldSession)
Sets previous authentication context.
|
void |
setRemoteRequest(javax.servlet.http.HttpServletRequest remoteReq)
Sets the remote request on the XML response
|
void |
setRemoteResponse(javax.servlet.http.HttpServletResponse remoteRes)
Sets the remote response on the XML response
|
void |
setReqdCallbacks(Callback[] reqdCallbacks)
Sets the callbacks sent by module.
|
void |
setSSOToken()
Sets
SSOToken |
void |
setValidSessionNoUpgrade(boolean aValidSessionNoUpgrade)
Sets the attribute for valid session
and no session upgrade in request.
|
String |
toXMLString()
Returns XML for the response based on the requested client information.
|
public AuthXMLResponse(int requestType)
AuthXMLResponse
objectrequestType
- id of request typepublic void setErrorCode(String errorCode)
errorCode
- Error Code.public void setErrorMessage(String msg)
msg
- Error Message.public void setErrorTemplate(String template)
template
- Template.public void setFailureURL(String failureURL)
failureURL
- Failure URL.public void setLoginStatus(AuthContext.Status loginStatus)
loginStatus
- Login Status.public void setReqdCallbacks(Callback[] reqdCallbacks)
reqdCallbacks
- Array of Request Callbacks.public void setRemoteRequest(javax.servlet.http.HttpServletRequest remoteReq)
remoteReq
- The Http Servlet Request to be setpublic void setRemoteResponse(javax.servlet.http.HttpServletResponse remoteRes)
remoteRes
- The Http Servlet Response to be setpublic String createXMLErrorString()
public String toXMLString()
public void setAuthContext(AuthContextLocal authContext)
authContext
- Authentication Context.public void setIsException(boolean isException)
isException
- true
if exception was thrown.public void setAuthIdentifier(String authIdentifier)
authIdentifier
- Authentication identifier.public void setModuleNames(Set moduleNames)
moduleNames
- Module Names.public String getXMLForQueryInfo()
public void setSSOToken()
SSOToken
public void setOldSession(InternalSession aOldSession)
aOldSession
- previous Internal Sessionpublic void setValidSessionNoUpgrade(boolean aValidSessionNoUpgrade)
aValidSessionNoUpgrade
- Session is valid no upgrade neededpublic void setAuthXMLRequest(AuthXMLRequest authXMLReq)
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.