public class

OpenIDAuthenticationToken

extends AbstractAuthenticationToken
java.lang.Object
   ↳ org.springframework.security.authentication.AbstractAuthenticationToken
     ↳ org.springframework.security.openid.OpenIDAuthenticationToken

Class Overview

OpenID Authentication Token

Summary

Public Constructors
OpenIDAuthenticationToken(OpenIDAuthenticationStatus status, String identityUrl, String message, List<OpenIDAttribute> attributes)
OpenIDAuthenticationToken(Object principal, Collection<? extends GrantedAuthority> authorities, String identityUrl, List<OpenIDAttribute> attributes)
Created by the OpenIDAuthenticationProvider on successful authentication.
Public Methods
List<OpenIDAttribute> getAttributes()
Object getCredentials()
Returns 'null' always, as no credentials are processed by the OpenID provider.
String getIdentityUrl()
String getMessage()
Object getPrincipal()
Returns the principal value.
OpenIDAuthenticationStatus getStatus()
String toString()
[Expand]
Inherited Methods
From class org.springframework.security.authentication.AbstractAuthenticationToken
From class java.lang.Object
From interface java.security.Principal
From interface org.springframework.security.core.Authentication
From interface org.springframework.security.core.CredentialsContainer

Public Constructors

public OpenIDAuthenticationToken (OpenIDAuthenticationStatus status, String identityUrl, String message, List<OpenIDAttribute> attributes)

public OpenIDAuthenticationToken (Object principal, Collection<? extends GrantedAuthority> authorities, String identityUrl, List<OpenIDAttribute> attributes)

Created by the OpenIDAuthenticationProvider on successful authentication.

Parameters
principal usually the UserDetails returned by the the configured UserDetailsService used by the OpenIDAuthenticationProvider.

Public Methods

public List<OpenIDAttribute> getAttributes ()

public Object getCredentials ()

Returns 'null' always, as no credentials are processed by the OpenID provider.

See Also

public String getIdentityUrl ()

public String getMessage ()

public Object getPrincipal ()

Returns the principal value.

See Also

public OpenIDAuthenticationStatus getStatus ()

public String toString ()