org.openid4java.consumer
Class VerificationResult

java.lang.Object
  extended by org.openid4java.consumer.VerificationResult

public class VerificationResult
extends java.lang.Object

Author:
Marius Scurtescu, Johnny Bufu

Field Summary
private  Message _authResponse
          The authentication response received from the server.
private  java.lang.String _opSetupUrl
          Optional parameter returned in a failure response to a immediate authentication request (AuthImmediateFailure).
private  java.lang.String _statusMsg
          An unstructured status / error message.
private  Identifier _verifiedId
          Identifier on which authentication and verification were performed succesfully and which can be used henceforth by Relying Parties to identify the user.
 
Constructor Summary
VerificationResult()
           
 
Method Summary
 Message getAuthResponse()
          Gets the authentication response message received from the server.
 java.lang.String getOPSetupUrl()
          Gets the optional OP user_setup_url parameter, if one was returned in a failure response to a immediate authentication request.
 java.lang.String getStatusMsg()
           
 Identifier getVerifiedId()
          Gets the verified identifier.
 void setAuthResponse(Message authResponse)
          Sets the authentication response message received from the server.
 void setOPSetupUrl(java.lang.String opSetupUrl)
          Sets the OP user_setup_url parameter, if one was returned in a failure response to a immediate authentication request.
 void setStatusMsg(java.lang.String statusMsg)
           
 void setVerifiedId(Identifier verifiedId)
          Sets the verified identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_verifiedId

private Identifier _verifiedId
Identifier on which authentication and verification were performed succesfully and which can be used henceforth by Relying Parties to identify the user.

Null if authentication or verification on the claimed identifier failed.


_opSetupUrl

private java.lang.String _opSetupUrl
Optional parameter returned in a failure response to a immediate authentication request (AuthImmediateFailure).


_authResponse

private Message _authResponse
The authentication response received from the server.


_statusMsg

private java.lang.String _statusMsg
An unstructured status / error message.

Constructor Detail

VerificationResult

public VerificationResult()
Method Detail

getVerifiedId

public Identifier getVerifiedId()
Gets the verified identifier.


setVerifiedId

public void setVerifiedId(Identifier verifiedId)
Sets the verified identifier.


getOPSetupUrl

public java.lang.String getOPSetupUrl()
Gets the optional OP user_setup_url parameter, if one was returned in a failure response to a immediate authentication request.

Null if the response did not include the user_setup_url parameter.


setOPSetupUrl

public void setOPSetupUrl(java.lang.String opSetupUrl)
                   throws MessageException
Sets the OP user_setup_url parameter, if one was returned in a failure response to a immediate authentication request.

Throws:
MessageException

getAuthResponse

public Message getAuthResponse()
Gets the authentication response message received from the server.


setAuthResponse

public void setAuthResponse(Message authResponse)
Sets the authentication response message received from the server.


getStatusMsg

public java.lang.String getStatusMsg()

setStatusMsg

public void setStatusMsg(java.lang.String statusMsg)


Copyright 2006-2008 Sxip Identity Corporation