public class PasswordAuthToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
| 构造器和说明 |
|---|
PasswordAuthToken(String username,
String password) |
PasswordAuthToken(String username,
String password,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getCredentials() |
Object |
getPrincipal() |
public PasswordAuthToken(String username, String password, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Copyright © 2023. All rights reserved.