org.apache.directory.server.protocol.shared.store
Class Krb5KdcEntryFilter

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.store.Krb5KdcEntryFilter
All Implemented Interfaces:
LdifLoadFilter

public class Krb5KdcEntryFilter
extends java.lang.Object
implements LdifLoadFilter

Filter which generates kerberos keys from userPassword attributes of kerberos users being loaded into the server from an LDIF file.

Version:
$Rev: 499765 $, $Date: 2007-01-25 13:49:51 +0100 (Thu, 25 Jan 2007) $
Author:
Apache Directory Project

Constructor Summary
Krb5KdcEntryFilter()
           
 
Method Summary
 boolean filter(java.io.File file, java.lang.String dn, javax.naming.directory.Attributes entry, javax.naming.directory.DirContext ctx)
          Always accepts entries whether or not it can sucessfully generate a key for the entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Krb5KdcEntryFilter

public Krb5KdcEntryFilter()
Method Detail

filter

public boolean filter(java.io.File file,
                      java.lang.String dn,
                      javax.naming.directory.Attributes entry,
                      javax.naming.directory.DirContext ctx)
               throws javax.naming.NamingException
Always accepts entries whether or not it can sucessfully generate a key for the entry.

Specified by:
filter in interface LdifLoadFilter
Parameters:
file - the file being loaded
dn - the distinguished name of the entry being loaded
entry - the entry attributes within the LDIF file
ctx - context to be used for loading the entry into the DIT
Returns:
true if the entry will be created in the DIT, false if it is to be skipped
Throws:
javax.naming.NamingException
See Also:
LdifLoadFilter.filter(File, String, Attributes, DirContext)


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.