Skip to content
Permalink
Browse files
code cleanup
  • Loading branch information
shawnmckinney committed Oct 24, 2020
1 parent 2b3424a commit 2d6c67fabdca8cfc7676ec37aea3972e1f2ab5e5
Showing 1 changed file with 0 additions and 3 deletions.
@@ -245,7 +245,6 @@ User create( User entity ) throws CreateException
Entry myEntry = new DefaultEntry( dn );

myEntry.add( SchemaConstants.OBJECT_CLASS_AT, getUserObjectClass() );
//myEntry.add( SchemaConstants.OBJECT_CLASS_AT, USER_OBJ_CLASS );
myEntry.add( GlobalIds.FT_IID, entity.getInternalId() );
myEntry.add( SchemaConstants.UID_AT, entity.getUserId() );

@@ -628,9 +627,7 @@ void unlock( User user ) throws UpdateException

try
{
//ld = getAdminConnection();
List<Modification> mods = new ArrayList<Modification>();

mods.add( new DefaultModification( ModificationOperation.REMOVE_ATTRIBUTE, OPENLDAP_PW_LOCKED_TIME ) );
ld = getAdminConnection();
modify( ld, userDn, mods, user );

0 comments on commit 2d6c67f

Please sign in to comment.