org.springframework.security.config.annotation.web.configurers.openid
Class OpenIDLoginConfigurer.AttributeExchangeConfigurer

java.lang.Object
  extended by org.springframework.security.config.annotation.web.configurers.openid.OpenIDLoginConfigurer.AttributeExchangeConfigurer
Enclosing class:
OpenIDLoginConfigurer<H extends HttpSecurityBuilder<H>>

public final class OpenIDLoginConfigurer.AttributeExchangeConfigurer
extends Object

A class used to add OpenID attributes to look up


Nested Class Summary
 class OpenIDLoginConfigurer.AttributeExchangeConfigurer.AttributeConfigurer
          Configures an OpenIDAttribute
 
Method Summary
 OpenIDLoginConfigurer<H> and()
          Get the OpenIDLoginConfigurer to customize the OpenID configuration further
 OpenIDLoginConfigurer.AttributeExchangeConfigurer attribute(OpenIDAttribute attribute)
          Adds an OpenIDAttribute to be obtained for the configured OpenID pattern.
 OpenIDLoginConfigurer.AttributeExchangeConfigurer.AttributeConfigurer attribute(String name)
          Adds an OpenIDAttribute with the given name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

and

public OpenIDLoginConfigurer<H> and()
Get the OpenIDLoginConfigurer to customize the OpenID configuration further

Returns:
the OpenIDLoginConfigurer

attribute

public OpenIDLoginConfigurer.AttributeExchangeConfigurer attribute(OpenIDAttribute attribute)
Adds an OpenIDAttribute to be obtained for the configured OpenID pattern.

Parameters:
attribute - the OpenIDAttribute to obtain
Returns:
the OpenIDLoginConfigurer.AttributeExchangeConfigurer for further customization of attribute exchange

attribute

public OpenIDLoginConfigurer.AttributeExchangeConfigurer.AttributeConfigurer attribute(String name)
Adds an OpenIDAttribute with the given name

Parameters:
name - the name of the OpenIDAttribute to create
Returns:
an OpenIDLoginConfigurer.AttributeExchangeConfigurer.AttributeConfigurer to further configure the OpenIDAttribute that should be obtained.