portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r692975 - /portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java
Date Mon, 08 Sep 2008 01:22:12 GMT
Author: ate
Date: Sun Sep  7 18:22:12 2008
New Revision: 692975

URL: http://svn.apache.org/viewvc?rev=692975&view=rev
Log:
User no longer contains/provides access to its Subject as it used in many cases
For an authenticated user, the Subject contains a UserSubjectPrincipal which wraps and provides
access to both the User and its Subject

Modified:
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java?rev=692975&r1=692974&r2=692975&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java
Sun Sep  7 18:22:12 2008
@@ -16,13 +16,6 @@
  */
 package org.apache.jetspeed.security.impl;
 
-import java.util.Collections;
-import java.util.Map;
-import java.util.HashMap;
-
-import javax.security.auth.Subject;
-
-import org.apache.jetspeed.security.SecurityAttribute;
 import org.apache.jetspeed.security.User;
 
 /**
@@ -32,23 +25,4 @@
 public class UserImpl extends PersistentJetspeedPrincipal implements User
 {
     private static final long serialVersionUID = 5484179899807809619L;
-
-    private Subject subject;
-    
-    /**
-     * <p>Default constructor.</p>
-     */
-    public UserImpl()
-    {
-    }
-
-    public Subject getSubject()
-    {
-        return this.subject;
-    }
-
-    public void setSubject(Subject subject)
-    {
-        this.subject = subject;
-    }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message