Class EmbeddedLoginAuthenticationToken

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.UsernamePasswordAuthenticationToken
com.broadleafcommerce.auth.user.session.FormLoginAuthenticationToken
com.broadleafcommerce.auth.authorization.security.embedded.login.EmbeddedLoginAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

public class EmbeddedLoginAuthenticationToken extends FormLoginAuthenticationToken
An Authentication implementation that is designed for simple presentation of an OAuth2 clientId, username, and password. For use with embedded login. Use FormLoginAuthenticationToken for Universal Login.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken

    org.springframework.security.authentication.UsernamePasswordAuthenticationToken.Builder<B extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken.Builder<B>>

    Nested classes/interfaces inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B extends org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    EmbeddedLoginAuthenticationToken(String clientId, Object principal, Object credentials)
     
    EmbeddedLoginAuthenticationToken(String clientId, Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
     
  • Method Summary

    Methods inherited from class com.broadleafcommerce.auth.user.session.FormLoginAuthenticationToken

    getClientId

    Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken

    authenticated, eraseCredentials, getCredentials, getPrincipal, setAuthenticated, toBuilder, unauthenticated

    Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.security.Principal

    implies
  • Constructor Details

    • EmbeddedLoginAuthenticationToken

      public EmbeddedLoginAuthenticationToken(String clientId, Object principal, Object credentials)
    • EmbeddedLoginAuthenticationToken

      public EmbeddedLoginAuthenticationToken(String clientId, Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)