Java org.springframework.security.authentication UsernamePasswordAuthenticationToken fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.security.authentication UsernamePasswordAuthenticationToken fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.security.authentication UsernamePasswordAuthenticationToken.

The text is from its open source code.

Subclass

org.springframework.security.authentication.UsernamePasswordAuthenticationToken has subclasses.
Click this link to see all its subclasses.

Constructor

UsernamePasswordAuthenticationToken(Object principal, Object credentials)
This constructor can be safely used by any code that wishes to create a UsernamePasswordAuthenticationToken, as the #isAuthenticated() will return false.
UsernamePasswordAuthenticationToken(Object principal, Object credentials, Collection authorities)
This constructor should only be used by AuthenticationManager or AuthenticationProvider implementations that are satisfied with producing a trusted (i.e.

Method