org.springframework.security.oauth2.config
Class ResourceServerBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.security.oauth2.config.ProviderBeanDefinitionParser
          extended by org.springframework.security.oauth2.config.ResourceServerBeanDefinitionParser
All Implemented Interfaces:
BeanDefinitionParser

public class ResourceServerBeanDefinitionParser
extends ProviderBeanDefinitionParser

Parser for the OAuth "resource-server" element. Creates a filter that can be added to the standard Spring Security filter chain.

Author:
Ryan Heaton, Dave Syer

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
ResourceServerBeanDefinitionParser()
           
 
Method Summary
protected  AbstractBeanDefinition parseEndpointAndReturnFilter(Element element, ParserContext parserContext, String tokenServicesRef, String serializerRef)
           
 
Methods inherited from class org.springframework.security.oauth2.config.ProviderBeanDefinitionParser
parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceServerBeanDefinitionParser

public ResourceServerBeanDefinitionParser()
Method Detail

parseEndpointAndReturnFilter

protected AbstractBeanDefinition parseEndpointAndReturnFilter(Element element,
                                                              ParserContext parserContext,
                                                              String tokenServicesRef,
                                                              String serializerRef)
Specified by:
parseEndpointAndReturnFilter in class ProviderBeanDefinitionParser


Copyright © 2012. All Rights Reserved.