Browse Source

Added "details" property

Luke Taylor 20 years ago
parent
commit
acee1ef696

+ 10 - 0
core/src/main/java/org/acegisecurity/providers/x509/X509AuthenticationToken.java

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