Added "details" property

This commit is contained in:
Luke Taylor 2005-03-12 20:40:05 +00:00
parent 5d1cd29dfb
commit acee1ef696
1 changed files with 10 additions and 0 deletions

View File

@ -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;
}