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.


Field Summary
private  ConsumerManager manager
           
private  java.lang.String returnToUrl
           
 
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
 

Field Detail

manager

private ConsumerManager manager

returnToUrl

private java.lang.String returnToUrl
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 2006-2008 Sxip Identity Corporation