attributes.remove( "creatorsName" ); attributes.remove( "modifiersName" ); attributes.remove( "createTimestamp" ); attributes.remove( "modifyTimestamp" );
NamingEnumeration list = attributes.getIDs();  while ( list.hasMore() ) { String attrId = ( String ) list.next(); AttributeType type = registry.lookup( attrId );  if ( type.getUsage() != UsageEnum.USERAPPLICATIONS ) { attributes.remove( attrId ); } }
    private boolean filter( Attributes attributes )    {        attributes.remove( "creatorsName" );        attributes.remove( "modifiersName" );        attributes.remove( "createTimestamp" );        attributes.remove( "modifyTimestamp" );        return true;    }