Class LdifService

java.lang.Object
org.gluu.oxtrust.service.LdifService
All Implemented Interfaces:
Serializable

@ApplicationScoped @Named("ldifService") public class LdifService extends Object implements Serializable
Provides operations with LDIF files
Author:
Shekhar L Date: 02.28.2017, Yuriy Movchan Date: 03/06/2017
See Also:
  • Constructor Details

    • LdifService

      public LdifService()
  • Method Details

    • importLdifFileInLdap

      public com.unboundid.ldap.sdk.ResultCode importLdifFileInLdap(Class<?> entryClass, InputStream is) throws com.unboundid.ldap.sdk.LDAPException
      Throws:
      com.unboundid.ldap.sdk.LDAPException
    • validateLdifFile

      public com.unboundid.ldap.sdk.ResultCode validateLdifFile(InputStream is, String dn) throws com.unboundid.ldap.sdk.LDAPException
      Throws:
      com.unboundid.ldap.sdk.LDAPException
    • performImport

      public void performImport(Class entryClass, InputStream inputStream)
    • exportLDIFFile

      public void exportLDIFFile(List<String> checkedItems, OutputStream output, String objectClass) throws com.unboundid.ldap.sdk.LDAPException
      Throws:
      com.unboundid.ldap.sdk.LDAPException