Class OpenIDAuthenticationToken

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.openid.OpenIDAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, Authentication, CredentialsContainer

@Deprecated public class OpenIDAuthenticationToken extends AbstractAuthenticationToken
Deprecated.
The OpenID 1.0 and 2.0 protocols have been deprecated and users are encouraged to migrate to OpenID Connect, which is supported by spring-security-oauth2.
OpenID Authentication Token
See Also:
  • Constructor Details

    • OpenIDAuthenticationToken

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

      public OpenIDAuthenticationToken(Object principal, Collection<? extends GrantedAuthority> authorities, String identityUrl, List<OpenIDAttribute> attributes)
      Deprecated.
      Created by the OpenIDAuthenticationProvider on successful authentication.
      Parameters:
      principal - usually the UserDetails returned by the configured UserDetailsService used by the OpenIDAuthenticationProvider.
  • Method Details