org.eclipse.higgins.rp.servlet.impl
Class RelyingPartyEnablerImpl

java.lang.Object
  extended byorg.eclipse.higgins.rp.servlet.impl.RelyingPartyEnablerImpl
All Implemented Interfaces:
org.eclipse.higgins.rp.RelyingPartyEnabler

public class RelyingPartyEnablerImpl
extends Object
implements org.eclipse.higgins.rp.RelyingPartyEnabler

A relying party factory which returns a protocol handler based on the input policy. Policy is simply a HashMap> which can include entries for the keys "TokenTypes" "RequiredClaims", "OptionalClaims", Need to standardize on a set of names. This factory reads in a set of configuration parameters which document the available protocol handlers and the classes implementing them. Given a policy it identifies the set of protocol handlers which implement the various token types.


Field Summary
static String HANDLER_INIT_METHOD_NAME
           
static String HANDLER_TOKEN_NAME_METHOD_NAME
           
static String propertiesSuffix
           
 
Constructor Summary
RelyingPartyEnablerImpl(javax.servlet.ServletContext sCtxt)
           
 
Method Summary
 org.eclipse.higgins.rp.AuthProtocolHandler createNewSession(Map policy)
           
 org.eclipse.higgins.rp.AuthProtocolHandler createNewSession(String userAgent, Map policy)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HANDLER_INIT_METHOD_NAME

public static final String HANDLER_INIT_METHOD_NAME
See Also:
Constant Field Values

HANDLER_TOKEN_NAME_METHOD_NAME

public static final String HANDLER_TOKEN_NAME_METHOD_NAME
See Also:
Constant Field Values

propertiesSuffix

public static final String propertiesSuffix
See Also:
Constant Field Values
Constructor Detail

RelyingPartyEnablerImpl

public RelyingPartyEnablerImpl(javax.servlet.ServletContext sCtxt)
Method Detail

createNewSession

public org.eclipse.higgins.rp.AuthProtocolHandler createNewSession(Map policy)
Specified by:
createNewSession in interface org.eclipse.higgins.rp.RelyingPartyEnabler

createNewSession

public org.eclipse.higgins.rp.AuthProtocolHandler createNewSession(String userAgent,
                                                                   Map policy)
Specified by:
createNewSession in interface org.eclipse.higgins.rp.RelyingPartyEnabler