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:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class RelyingPartyConfigurationBeanDefinitionParser
extends org.springframework.beans.factory.xml.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.
private  org.slf4j.Logger log
          Class logger.
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, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
          
protected  Class getBeanClass(Element arg0)
          
protected  String getRelyingPartyId(Element config)
          Gets the ID of the relying party.
protected  String resolveId(Element arg0, org.springframework.beans.factory.support.AbstractBeanDefinition arg1, org.springframework.beans.factory.xml.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.


log

private final org.slf4j.Logger log
Class logger.

Constructor Detail

RelyingPartyConfigurationBeanDefinitionParser

public RelyingPartyConfigurationBeanDefinitionParser()
Method Detail

getBeanClass

protected Class getBeanClass(Element arg0)

Overrides:
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser

doParse

protected void doParse(Element config,
                       org.springframework.beans.factory.xml.ParserContext parserContext,
                       org.springframework.beans.factory.support.BeanDefinitionBuilder builder)

Overrides:
doParse in class org.springframework.beans.factory.xml.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,
                           org.springframework.beans.factory.support.AbstractBeanDefinition arg1,
                           org.springframework.beans.factory.xml.ParserContext arg2)

Overrides:
resolveId in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser


Copyright © 1999-2012. All Rights Reserved.