mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-05 18:22:26 +00:00
Added "details" property
This commit is contained in:
parent
5d1cd29dfb
commit
acee1ef696
@ -18,6 +18,7 @@ public class X509AuthenticationToken extends AbstractAuthenticationToken {
|
||||
private Object principal;
|
||||
private GrantedAuthority[] authorities;
|
||||
private boolean authenticated = false;
|
||||
private Object details = null;
|
||||
|
||||
//~ Constructors ===========================================================
|
||||
|
||||
@ -34,6 +35,15 @@ public class X509AuthenticationToken extends AbstractAuthenticationToken {
|
||||
|
||||
//~ Methods ================================================================
|
||||
|
||||
public Object getDetails() {
|
||||
return details;
|
||||
}
|
||||
|
||||
public void setDetails(Object details) {
|
||||
this.details = details;
|
||||
}
|
||||
|
||||
|
||||
public void setAuthenticated(boolean isAuthenticated) {
|
||||
this.authenticated = isAuthenticated;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user