issrg.test.dis
Class VirtualLDAP
java.lang.Object
issrg.utils.repository.VirtualRepository
issrg.test.dis.VirtualLDAP
- All Implemented Interfaces:
- DISCore.Repository, AttributeRepository
public class VirtualLDAP
- extends VirtualRepository
- implements DISCore.Repository
- Author:
- anhnt
Field Summary |
static java.lang.String |
AC_attribute
Creates a new instance of VirtualLDAPUtility |
Method Summary |
void |
deleteAC(java.lang.String dn,
int idx)
|
void |
deleteAllACs(java.lang.String dn)
|
javax.naming.directory.Attribute |
loadACs(java.lang.String dn)
|
void |
save(byte[] ac)
|
void |
save(java.io.File f)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AC_attribute
public static java.lang.String AC_attribute
- Creates a new instance of VirtualLDAPUtility
VirtualLDAP
public VirtualLDAP()
save
public void save(byte[] ac)
throws java.lang.Exception
- Specified by:
save
in interface DISCore.Repository
- Throws:
java.lang.Exception
save
public void save(java.io.File f)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadACs
public javax.naming.directory.Attribute loadACs(java.lang.String dn)
throws java.lang.Exception
- Specified by:
loadACs
in interface DISCore.Repository
- Throws:
java.lang.Exception
deleteAC
public void deleteAC(java.lang.String dn,
int idx)
throws java.lang.Exception
- Specified by:
deleteAC
in interface DISCore.Repository
- Throws:
java.lang.Exception
deleteAllACs
public void deleteAllACs(java.lang.String dn)
throws java.lang.Exception
- Specified by:
deleteAllACs
in interface DISCore.Repository
- Throws:
java.lang.Exception