org.opensaml
Class SAMLBindingFactory

java.lang.Object
  extended byorg.opensaml.SAMLBindingFactory

public class SAMLBindingFactory
extends Object

Factory for the SAMLBinding interface

Author:
Scott Cantor

Constructor Summary
SAMLBindingFactory()
           
 
Method Summary
static SAMLBinding getInstance(String binding)
          Obtains a default provider of the SAMLBinding interface
static SAMLBinding getInstance(String binding, Element e)
          Obtains a default provider of the SAMLBinding interface
static SAMLBinding getInstance(String binding, Element e, String provider)
          Obtains a specific provider of the SAMLBinding interface
static SAMLBinding getInstance(String binding, String provider)
          Obtains a specific provider of the SAMLBinding interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLBindingFactory

public SAMLBindingFactory()
Method Detail

getInstance

public static SAMLBinding getInstance(String binding)
                               throws NoSuchProviderException
Obtains a default provider of the SAMLBinding interface

Parameters:
binding - URI that identifies the desired protocol binding
Returns:
The SAMLBinding provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static SAMLBinding getInstance(String binding,
                                      Element e)
                               throws NoSuchProviderException
Obtains a default provider of the SAMLBinding interface

Parameters:
binding - URI that identifies the desired protocol binding
e - A DOM element as input to configuring the provider
Returns:
The SAMLBinding provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static SAMLBinding getInstance(String binding,
                                      String provider)
                               throws NoSuchProviderException
Obtains a specific provider of the SAMLBinding interface

Parameters:
binding - URI that identifies the desired protocol binding
provider - Name of the provider class to build
Returns:
The SAMLBinding provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface

getInstance

public static SAMLBinding getInstance(String binding,
                                      Element e,
                                      String provider)
                               throws NoSuchProviderException
Obtains a specific provider of the SAMLBinding interface

Parameters:
binding - URI that identifies the desired protocol binding
e - A DOM element as input to configuring the provider
provider - Name of the provider class to build
Returns:
The SAMLBinding provider
Throws:
NoSuchProviderException - Raised if an error occurs while obtaining an instance of the interface


Copyright ? 2005 UCAID. All Rights Reserved.