edu.internet2.middleware.shibboleth.common.config.relyingparty
Class RelyingPartyConfigurationBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by edu.internet2.middleware.shibboleth.common.config.relyingparty.RelyingPartyConfigurationBeanDefinitionParser
All Implemented Interfaces:
BeanDefinitionParser

public class RelyingPartyConfigurationBeanDefinitionParser
extends AbstractSingleBeanDefinitionParser

Bean definition parser for relying party elements.


Field Summary
static QName ANON_RP_ELEMENT_NAME
          Name of the anonymous relying party configuration element.
static QName DEFAULT_RP_ELEMENT_NAME
          Name of the default relying party configuration element.
static QName RP_ELEMENT_NAME
          Name of the relying party configuration element.
static QName RP_TYPE_NAME
          Schema type name.
static QName URP_TYPE_NAME
          Schema type name.
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
RelyingPartyConfigurationBeanDefinitionParser()
           
 
Method Summary
protected  void doParse(Element config, ParserContext parserContext, BeanDefinitionBuilder builder)
          
protected  Class getBeanClass(Element arg0)
          
protected  String getRelyingPartyId(Element config)
          Gets the ID of the relying party.
protected  String resolveId(Element arg0, AbstractBeanDefinition arg1, ParserContext arg2)
          
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URP_TYPE_NAME

public static final QName URP_TYPE_NAME
Schema type name.


RP_TYPE_NAME

public static final QName RP_TYPE_NAME
Schema type name.


ANON_RP_ELEMENT_NAME

public static final QName ANON_RP_ELEMENT_NAME
Name of the anonymous relying party configuration element.


DEFAULT_RP_ELEMENT_NAME

public static final QName DEFAULT_RP_ELEMENT_NAME
Name of the default relying party configuration element.


RP_ELEMENT_NAME

public static final QName RP_ELEMENT_NAME
Name of the relying party configuration element.

Constructor Detail

RelyingPartyConfigurationBeanDefinitionParser

public RelyingPartyConfigurationBeanDefinitionParser()
Method Detail

getBeanClass

protected Class getBeanClass(Element arg0)

Overrides:
getBeanClass in class AbstractSingleBeanDefinitionParser

doParse

protected void doParse(Element config,
                       ParserContext parserContext,
                       BeanDefinitionBuilder builder)

Overrides:
doParse in class AbstractSingleBeanDefinitionParser

getRelyingPartyId

protected String getRelyingPartyId(Element config)
Gets the ID of the relying party.

Parameters:
config - relying party configuration element
Returns:
ID of the relying party

resolveId

protected String resolveId(Element arg0,
                           AbstractBeanDefinition arg1,
                           ParserContext arg2)

Overrides:
resolveId in class AbstractBeanDefinitionParser


Copyright © 2006-2009 Internet2. All Rights Reserved.