java.lang.Object
tr.com.havelsan.javarch.oauth.ldap.provider.util.HvlLdapUtil

public final class HvlLdapUtil extends Object
Ldap islemleri icin kullanilan yardimci metodlarin bulundugu siniftir.
  • Field Details

  • Method Details

    • encodePassword

      public static byte[] encodePassword(String newPassword)
      Verilen sifreyi encode ederek byte olarak geri verir.
      Parameters:
      newPassword - the new password
      Returns:
      byte [ ]
    • buildDn

      public static Name buildDn(String cn, String dn)
      Build dn name.
      Parameters:
      cn - the cn
      dn - the dn
      Returns:
      the name
    • buildDn

      public static Name buildDn(HvlLdapBaseModel baseModel)
      Build dn name.
      Parameters:
      baseModel - the base model
      Returns:
      the name