identifier for the user.
user_search_options
- This takes a hashref. It will append it's values to the call to
+ This takes a hashref. It will append its values to the call to
Net::LDAP's "search" method during the initial user lookup. See
Net::LDAP for valid options.
role_filter. If this is set to "dn", we will use the User Objects DN.
role_search_options
- This takes a hashref. It will append it's values to the call to
+ This takes a hashref. It will append its values to the call to
Net::LDAP's "search" method during the user's role lookup. See Net::LDAP
for valid options.
=head2 user_search_options
-This takes a hashref. It will append it's values to the call to
+This takes a hashref. It will append its values to the call to
L<Net::LDAP>'s "search" method during the initial user lookup. See
L<Net::LDAP> for valid options.
=head2 role_search_options
-This takes a hashref. It will append it's values to the call to
+This takes a hashref. It will append its values to the call to
L<Net::LDAP>'s "search" method during the user's role lookup. See
L<Net::LDAP> for valid options.
A) Bind to the directory using the configured binddn and bindpw
B) Perform a search for the User Object in the directory, using
user_basedn, user_filter, and user_scope.
- C) Assuming we found the object, we will walk it's attributes
+ C) Assuming we found the object, we will walk its attributes
using L<Net::LDAP::Entry>'s get_value method. We store the
results in a hashref. If we do not find the object, then
undef is returned.
This method looks up the roles for a given user. It takes a
L<Catalyst::Authentication::Store::LDAP::User> object
-as it's first argument, and can optionally take a I<Net::LDAP> object which
+as its first argument, and can optionally take a I<Net::LDAP> object which
is used rather than the default binding if supplied.
It returns an array containing the role_field attribute from all the
-objects that match it's criteria.
+objects that match its criteria.
=cut
. $userobj->username
. " has no "
. $self->role_value
- . " attribute, so I can't look up it's roles!" );
+ . " attribute, so I can't look up its roles!" );
}
my $filter = $self->_replace_filter( $self->role_filter, $filter_value );
push( @searchopts, 'filter' => $filter );
=head1 DESCRIPTION
-This wraps up an LDAP object and presents a simplified interface to it's
+This wraps up an LDAP object and presents a simplified interface to its
contents. It uses some AUTOLOAD magic to pass method calls it doesn't
understand through as simple read only accessors for the LDAP entries
various attributes.