com.sun.identity.saml2.plugins
Interface IDPAuthnContextMapper


public interface IDPAuthnContextMapper

The interface IDPAuthnContextMapper creates an IDPAuthnContextInfo based on the RequestAuthnContext from the AuthnRequest sent by a Service Provider and the AuthnContext configuration at the IDP entity config. The implementation of this class will be used by the IDP to find out the authentication mechaism and set the AuthnContext in the Assertion.


Method Summary
 IDPAuthnContextInfo getIDPAuthnContextInfo(AuthnRequest authnRequest, java.lang.String idpEntityID, java.lang.String realm)
          Returns an IDPAuthnContextInfo object.
 

Method Detail

getIDPAuthnContextInfo

public IDPAuthnContextInfo getIDPAuthnContextInfo(AuthnRequest authnRequest,
                                                  java.lang.String idpEntityID,
                                                  java.lang.String realm)
                                           throws SAML2Exception
Returns an IDPAuthnContextInfo object.

Parameters:
authnRequest - the AuthnRequest from the Service Provider
idpEntityID - the Entity ID of the Identity Provider
realm - the realm to which the Identity Provider belongs
Returns:
an IDPAuthnContextInfo object
Throws:
SAML2Exception - if an error occurs.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.