org.eclipse.higgins.rp
Interface RelyingPartyEnabler
- public interface RelyingPartyEnabler
The top level interface which defines the Relying Party interface. This is
essentially a factory which serves up protocol handler for a given set of
parameters ( URL/user agent)
createNewSession
public AuthProtocolHandler createNewSession(Map policy)
- AuthProtocolHandler is an object implementing the finite state machine of
the actual protocol. Offer two methods for the factory to create a
protocol handler: based just on policy and the other based on policy and
the user agent.
- Parameters:
policy - is a hashMap mapping attributes to a list of values.
Typical attributes are "TokenTypes", "RequiredClaims",
"OptionalClaims"
- Returns:
- an appropriate authentication handler for this policy
createNewSession
public AuthProtocolHandler createNewSession(String userAgent,
Map policy)
- Parameters:
userAgent - String description of the user-agentpolicy - is a hashMap mapping attributes to a list of values.
Typical attributes are "TokenTypes", "RequiredClaims",
"OptionalClaims"
- Returns:
- appropriate authentication handler for this policy and user
agent