From: Dagfinn Ilmari Mannsåker Date: Mon, 3 Oct 2016 15:33:44 +0000 (+0100) Subject: Fix typos "it's" → "its" X-Git-Tag: v1.017~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Store-LDAP.git;a=commitdiff_plain;h=71e3a4f6f35a40145bc66918b912f0661d27cffc Fix typos "it's" → "its" --- diff --git a/README b/README index a495d71..280be30 100644 --- a/README +++ b/README @@ -193,7 +193,7 @@ CONFIGURATION OPTIONS 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. @@ -256,7 +256,7 @@ CONFIGURATION 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. diff --git a/lib/Catalyst/Authentication/Store/LDAP.pm b/lib/Catalyst/Authentication/Store/LDAP.pm index 4769ede..b57b0ad 100644 --- a/lib/Catalyst/Authentication/Store/LDAP.pm +++ b/lib/Catalyst/Authentication/Store/LDAP.pm @@ -229,7 +229,7 @@ as identifier for the user. =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's "search" method during the initial user lookup. See L for valid options. @@ -297,7 +297,7 @@ If this is set to "dn", we will use the User Objects DN. =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's "search" method during the user's role lookup. See L for valid options. diff --git a/lib/Catalyst/Authentication/Store/LDAP/Backend.pm b/lib/Catalyst/Authentication/Store/LDAP/Backend.pm index 75e2a0f..bd2276e 100644 --- a/lib/Catalyst/Authentication/Store/LDAP/Backend.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/Backend.pm @@ -280,7 +280,7 @@ Given a User ID, this method will: 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's get_value method. We store the results in a hashref. If we do not find the object, then undef is returned. @@ -381,11 +381,11 @@ sub lookup_user { This method looks up the roles for a given user. It takes a L object -as it's first argument, and can optionally take a I object which +as its first argument, and can optionally take a I 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 @@ -410,7 +410,7 @@ sub lookup_roles { . $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 ); diff --git a/lib/Catalyst/Authentication/Store/LDAP/User.pm b/lib/Catalyst/Authentication/Store/LDAP/User.pm index e391de3..7a6954d 100644 --- a/lib/Catalyst/Authentication/Store/LDAP/User.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/User.pm @@ -25,7 +25,7 @@ username. =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.