You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2005/10/03 22:07:17 UTC
svn commit: r293444 -
/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/LdapPrincipal.java
Author: akarasulu
Date: Mon Oct 3 13:07:14 2005
New Revision: 293444
URL: http://svn.apache.org/viewcvs?rev=293444&view=rev
Log:
reverting changes that included group information with the principal
Modified:
directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/LdapPrincipal.java
Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/LdapPrincipal.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/LdapPrincipal.java?rev=293444&r1=293443&r2=293444&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/LdapPrincipal.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/LdapPrincipal.java Mon Oct 3 13:07:14 2005
@@ -48,25 +48,6 @@
/** the authentication level for this principal */
private final AuthenticationLevel authenticationLevel;
- /** the set of groups this user is a member of */
- private final Set userGroupNames;
-
-
- /**
- * Creates a new LDAP/X500 principal without any group associations. Keep
- * this package friendly so only code in the package can create a
- * trusted principal.
- *
- * @param name the normalized distinguished name of the principal
- * @param authenticationLevel
- */
- LdapPrincipal( Name name, AuthenticationLevel authenticationLevel, Set userGroupNames )
- {
- this.name = name;
- this.authenticationLevel = authenticationLevel;
- this.userGroupNames = userGroupNames;
- }
-
/**
* Creates a new LDAP/X500 principal without any group associations. Keep
@@ -80,7 +61,6 @@
{
this.name = name;
this.authenticationLevel = authenticationLevel;
- this.userGroupNames = Collections.EMPTY_SET;
}
@@ -92,7 +72,6 @@
{
this.name = new LdapName();
this.authenticationLevel = AuthenticationLevel.NONE;
- this.userGroupNames = Collections.EMPTY_SET;
}
@@ -125,18 +104,6 @@
public AuthenticationLevel getAuthenticationLevel()
{
return authenticationLevel;
- }
-
-
- /**
- * Gets a set containing LDAP distinguished names, {@link LdapName}s,
- * representing the groups this user is a member of.
- *
- * @return the Set of LdapName objects with the DN of the group entry
- */
- public Set getUserGroupNames()
- {
- return Collections.unmodifiableSet( this.userGroupNames );
}