PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.web.config
Class AbstractSAMLConfigurationProvider

java.lang.Object
  extended by org.picketlink.identity.federation.web.config.AbstractSAMLConfigurationProvider
All Implemented Interfaces:
SAMLConfigurationProvider
Direct Known Subclasses:
IDPMetadataConfigurationProvider, SPPostMetadataConfigurationProvider, SPRedirectMetadataConfigurationProvider

public abstract class AbstractSAMLConfigurationProvider
extends Object
implements SAMLConfigurationProvider

An abstact class to hold the common functionality across providers

Since:
Feb 22, 2012
Author:
Anil Saldhana

Field Summary
protected  IDPType configParsedIDPType
           
protected  PicketLinkType configParsedPicketLinkType
           
protected  SPType configParsedSPType
           
protected static PicketLinkLogger logger
           
static String VALIDATING_ALIAS
           
 
Constructor Summary
AbstractSAMLConfigurationProvider()
           
 
Method Summary
abstract  IDPType getIDPConfiguration()
          Get the IDPType configuration
 PicketLinkType getPicketLinkConfiguration()
          Get the configuration
abstract  SPType getSPConfiguration()
          Get the configuration
 void setConfigFile(InputStream is)
          Deprecated. 
 void setConsolidatedConfigFile(InputStream is)
           Sets a InputStream created from a picketlink.xml file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final PicketLinkLogger logger

VALIDATING_ALIAS

public static final String VALIDATING_ALIAS
See Also:
Constant Field Values

configParsedIDPType

protected IDPType configParsedIDPType

configParsedSPType

protected SPType configParsedSPType

configParsedPicketLinkType

protected PicketLinkType configParsedPicketLinkType
Constructor Detail

AbstractSAMLConfigurationProvider

public AbstractSAMLConfigurationProvider()
Method Detail

setConfigFile

@Deprecated
public void setConfigFile(InputStream is)
                   throws ParsingException
Deprecated. 

Sets a InputStream created from a picketlink-idfed.xml file. This method expects to parse the deprecated configuration, PicketLinkIDP or PicketLinkSP element/type, as the first element.

Parameters:
is -
Throws:
ParsingException

setConsolidatedConfigFile

public void setConsolidatedConfigFile(InputStream is)
                               throws ParsingException

Sets a InputStream created from a picketlink.xml file. This method expects to parse the consolidated configuration, PicketLink element/type, as the first element.

Parameters:
is -
Throws:
ParsingException

getIDPConfiguration

public abstract IDPType getIDPConfiguration()
                                     throws ProcessingException
Description copied from interface: SAMLConfigurationProvider
Get the IDPType configuration

Specified by:
getIDPConfiguration in interface SAMLConfigurationProvider
Returns:
Throws:
ProcessingException

getSPConfiguration

public abstract SPType getSPConfiguration()
                                   throws ProcessingException
Description copied from interface: SAMLConfigurationProvider
Get the configuration

Specified by:
getSPConfiguration in interface SAMLConfigurationProvider
Returns:
Throws:
ProcessingException

getPicketLinkConfiguration

public PicketLinkType getPicketLinkConfiguration()
                                          throws ProcessingException
Description copied from interface: SAMLConfigurationProvider
Get the configuration

Specified by:
getPicketLinkConfiguration in interface SAMLConfigurationProvider
Returns:
Throws:
ProcessingException

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.