diff options
Diffstat (limited to 'jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java')
-rw-r--r-- | jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java index ca009978e9..586862384e 100644 --- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java +++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/spi/LdapLoginModule.java @@ -182,7 +182,7 @@ public class LdapLoginModule extends AbstractLoginModule * roles are also an optional concept if required * * @param username - * @return + * @return the userinfo for the username * @throws Exception */ public UserInfo getUserInfo(String username) throws Exception @@ -367,7 +367,7 @@ public class LdapLoginModule extends AbstractLoginModule * then we try a binding authentication check, otherwise if we have the users encoded password then * we can try authentication via that mechanic * - * @return + * @return true if authenticated, false otherwise * @throws LoginException */ public boolean login() throws LoginException @@ -440,7 +440,7 @@ public class LdapLoginModule extends AbstractLoginModule * password supplied authentication check * * @param webCredential - * @return + * @return true if authenticated * @throws LoginException */ protected boolean credentialLogin(Object webCredential) throws LoginException @@ -451,13 +451,13 @@ public class LdapLoginModule extends AbstractLoginModule /** * binding authentication check - * This methode of authentication works only if the user branch of the DIT (ldap tree) - * has an ACI (acces control instruction) that allow the access to any user or at least + * This method of authentication works only if the user branch of the DIT (ldap tree) + * has an ACI (access control instruction) that allow the access to any user or at least * for the user that logs in. * * @param username * @param password - * @return + * @return true always * @throws LoginException */ public boolean bindingLogin(String username, Object password) throws LoginException, NamingException @@ -610,7 +610,7 @@ public class LdapLoginModule extends AbstractLoginModule /** * get the context for connection * - * @return + * @return the environment details for the context */ public Hashtable<Object, Object> getEnvironment() { |