org.openid4java.consumer
Class SampleConsumer

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

public class SampleConsumer
extends java.lang.Object

Sample Consumer (Relying Party) implementation.


Constructor Summary
SampleConsumer()
           
SampleConsumer(java.lang.String returnToUrl)
           
 
Method Summary
 java.lang.String authRequest(java.lang.String userSuppliedString, javax.servlet.http.HttpServletRequest httpReq, javax.servlet.http.HttpServletResponse httpResp)
           
 Identifier verifyResponse(javax.servlet.http.HttpServletRequest httpReq)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleConsumer

public SampleConsumer()
               throws ConsumerException
Throws:
ConsumerException

SampleConsumer

public SampleConsumer(java.lang.String returnToUrl)
               throws ConsumerException
Throws:
ConsumerException
Method Detail

authRequest

public java.lang.String authRequest(java.lang.String userSuppliedString,
                                    javax.servlet.http.HttpServletRequest httpReq,
                                    javax.servlet.http.HttpServletResponse httpResp)
                             throws java.io.IOException
Throws:
java.io.IOException

verifyResponse

public Identifier verifyResponse(javax.servlet.http.HttpServletRequest httpReq)


Copyright © 2012 Sxip. All Rights Reserved.