Class LdapIdentityGetHelper

java.lang.Object
org.apache.kerby.kerberos.kdc.identitybackend.LdapIdentityGetHelper

public class LdapIdentityGetHelper extends Object
  • Constructor Details

    • LdapIdentityGetHelper

      public LdapIdentityGetHelper(org.apache.directory.api.ldap.model.entry.Entry entry)
  • Method Details

    • getPrincipalName

      public org.apache.kerby.kerberos.kerb.type.base.PrincipalName getPrincipalName() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
      Get principal name.
      Returns:
      principal name
      Throws:
      org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException - e
    • getKeyVersion

      public int getKeyVersion() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
      Get key version.
      Returns:
      key version
      Throws:
      org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException - e
    • getKeys

      public List<org.apache.kerby.kerberos.kerb.type.base.EncryptionKey> getKeys() throws IOException
      Get keys.
      Returns:
      keys
      Throws:
      IOException - e
    • getCreatedTime

      public org.apache.kerby.kerberos.kerb.type.KerberosTime getCreatedTime() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException, ParseException
      Get created time.
      Returns:
      created time
      Throws:
      org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException - e
      ParseException - e
    • getExpireTime

      public org.apache.kerby.kerberos.kerb.type.KerberosTime getExpireTime() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException, ParseException
      Get expire time.
      Returns:
      the expire time
      Throws:
      org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException - e
      ParseException - e
    • getDisabled

      public boolean getDisabled() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
      Get whether disabled.
      Returns:
      whether this krb5 account is disabled
      Throws:
      org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException - e
    • getKdcFlags

      public int getKdcFlags() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
      Get kdc flags.
      Returns:
      kdc flags
      Throws:
      org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException - e
    • getLocked

      public boolean getLocked() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
      Get whether locked.
      Returns:
      whether the krb5 account is locked
      Throws:
      org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException - e