Module: ActiveLdap

Extended by:
GetTextSupport, ActiveRecord::Persistence
Defined in:
lib/active_ldap.rb,
lib/active_ldap/xml.rb,
lib/active_ldap/base.rb,
lib/active_ldap/ldif.rb,
lib/active_ldap/escape.rb,
lib/active_ldap/helper.rb,
lib/active_ldap/schema.rb,
lib/active_ldap/command.rb,
lib/active_ldap/populate.rb,
lib/active_ldap/acts/tree.rb,
lib/active_ldap/callbacks.rb,
lib/active_ldap/attributes.rb,
lib/active_ldap/compatible.rb,
lib/active_ldap/connection.rb,
lib/active_ldap/ldap_error.rb,
lib/active_ldap/operations.rb,
lib/active_ldap/validations.rb,
lib/active_ldap/adapter/base.rb,
lib/active_ldap/adapter/jndi.rb,
lib/active_ldap/adapter/ldap.rb,
lib/active_ldap/associations.rb,
lib/active_ldap/object_class.rb,
lib/active_ldap/configuration.rb,
lib/active_ldap/user_password.rb,
lib/active_ldap/human_readable.rb,
lib/active_ldap/entry_attribute.rb,
lib/active_ldap/get_text/parser.rb,
lib/active_ldap/schema/syntaxes.rb,
lib/active_ldap/adapter/net_ldap.rb,
lib/active_ldap/get_text_support.rb,
lib/active_ldap/association/proxy.rb,
lib/active_ldap/get_text_fallback.rb,
lib/active_ldap/distinguished_name.rb,
lib/active_ldap/association/children.rb,
lib/active_ldap/association/has_many.rb,
lib/active_ldap/association/belongs_to.rb,
lib/active_ldap/association/collection.rb,
lib/active_ldap/adapter/jndi_connection.rb,
lib/active_ldap/association/has_many_wrap.rb,
lib/active_ldap/association/has_many_utils.rb,
lib/active_ldap/association/belongs_to_many.rb,
lib/active_ldap/action_controller/ldap_benchmarking.rb

Defined Under Namespace

Modules: ActionController, Acts, Adapter, Association, Associations, Attributes, Callbacks, Command, Compatible, Configuration, Connection, Escape, GetText, GetTextFallback, GetTextSupport, Helper, HumanReadable, ObjectClass, Operations, Populate, UserPassword, Validations Classes: AdapterNotFound, AdapterNotSpecified, AttributeAssignmentError, AttributeValueInvalid, AuthenticationError, Base, ConfigurationError, ConnectionError, ConnectionNotSetup, DeleteError, DistinguishedName, DistinguishedNameInputInvalid, DistinguishedNameInvalid, DistinguishedNameNotSetError, EntryAlreadyExist, EntryAttribute, EntryInvalid, EntryNotFound, EntryNotSaved, Error, LdapError, Ldif, LdifInvalid, NotImplemented, ObjectClassError, OperationNotPermitted, RequiredAttributeMissed, RequiredObjectClassMissed, SaveError, Schema, StrongAuthenticationRequired, TimeoutError, UnknownAttribute, Xml

Constant Summary collapse

VERSION =
"1.2.3"
XML =
Xml
LDIF =
Ldif
DN =
DistinguishedName

Class Method Summary collapse

Methods included from GetTextSupport

included

Class Method Details

.const_missing(id) ⇒ Object



50
51
52
53
54
55
56
57
58
59
60
61
62
63
# File 'lib/active_ldap/base.rb', line 50

def const_missing(id)
  case id
  when :ConnectionNotEstablished
    message =
      _("ActiveLdap::ConnectionNotEstablished has been deprecated " \
        "since 1.1.0. " \
        "Please use ActiveLdap::ConnectionNotSetup instead.")
    ActiveSupport::Deprecation.warn(message)
    const_set("ConnectionNotEstablished", ConnectionNotSetup)
    ConnectionNotEstablished
  else
    super
  end
end

.get_text_supported?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/active_ldap/get_text_support.rb', line 3

def get_text_supported?
  not const_defined?(:GetTextFallback)
end