mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-06 10:42:33 +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 Object principal;
|
||||||
private GrantedAuthority[] authorities;
|
private GrantedAuthority[] authorities;
|
||||||
private boolean authenticated = false;
|
private boolean authenticated = false;
|
||||||
|
private Object details = null;
|
||||||
|
|
||||||
//~ Constructors ===========================================================
|
//~ Constructors ===========================================================
|
||||||
|
|
||||||
@ -34,6 +35,15 @@ public class X509AuthenticationToken extends AbstractAuthenticationToken {
|
|||||||
|
|
||||||
//~ Methods ================================================================
|
//~ Methods ================================================================
|
||||||
|
|
||||||
|
public Object getDetails() {
|
||||||
|
return details;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDetails(Object details) {
|
||||||
|
this.details = details;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setAuthenticated(boolean isAuthenticated) {
|
public void setAuthenticated(boolean isAuthenticated) {
|
||||||
this.authenticated = isAuthenticated;
|
this.authenticated = isAuthenticated;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user