org.restlet.ext.openid
Class RelayingParty

java.lang.Object
  extended by org.restlet.ext.openid.RelayingParty

public class RelayingParty
extends Object

Describes a relaying party, also known as a RP.

Author:
Martin Svensson

Constructor Summary
RelayingParty()
           
RelayingParty(org.openid4java.consumer.ConsumerManager cm)
           
 
Method Summary
 String authRequest(String identifier, boolean sessionAware, boolean addReturnTo, String returnTo, Set<AttributeExchange> optionalAttrs, Set<AttributeExchange> requiredAttrs, Request req, Response res)
           
 Logger getLogger()
           
 boolean hasReturnTo(Request request)
           
 org.openid4java.discovery.Identifier verify(Map<AttributeExchange,String> axResp, Request req, boolean sessionAware)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelayingParty

public RelayingParty()

RelayingParty

public RelayingParty(org.openid4java.consumer.ConsumerManager cm)
Method Detail

authRequest

public String authRequest(String identifier,
                          boolean sessionAware,
                          boolean addReturnTo,
                          String returnTo,
                          Set<AttributeExchange> optionalAttrs,
                          Set<AttributeExchange> requiredAttrs,
                          Request req,
                          Response res)
                   throws Exception
Throws:
Exception

getLogger

public Logger getLogger()

hasReturnTo

public boolean hasReturnTo(Request request)

verify

public org.openid4java.discovery.Identifier verify(Map<AttributeExchange,String> axResp,
                                                   Request req,
                                                   boolean sessionAware)
                                            throws Exception
Throws:
Exception


Copyright © 2005-2013 Restlet.