projects
/
lgpl
/
argeo-commons.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename LDAP enums
[lgpl/argeo-commons.git]
/
org.argeo.cms
/
src
/
org
/
argeo
/
cms
/
directory
/
ldap
/
AuthPassword.java
diff --git
a/org.argeo.cms/src/org/argeo/cms/directory/ldap/AuthPassword.java
b/org.argeo.cms/src/org/argeo/cms/directory/ldap/AuthPassword.java
index f2332dbcf688796a254412a2ffd9d3aaaf253641..a871912e17cfd86ab9c828039850e77486b2a23f 100644
(file)
--- a/
org.argeo.cms/src/org/argeo/cms/directory/ldap/AuthPassword.java
+++ b/
org.argeo.cms/src/org/argeo/cms/directory/ldap/AuthPassword.java
@@
-14,7
+14,7
@@
import javax.security.auth.callback.NameCallback;
import javax.security.auth.callback.PasswordCallback;
import javax.security.auth.callback.UnsupportedCallbackException;
import javax.security.auth.callback.PasswordCallback;
import javax.security.auth.callback.UnsupportedCallbackException;
-import org.argeo.api.acr.ldap.LdapAttr
s
;
+import org.argeo.api.acr.ldap.LdapAttr;
/** LDAP authPassword field according to RFC 3112 */
public class AuthPassword implements CallbackHandler {
/** LDAP authPassword field according to RFC 3112 */
public class AuthPassword implements CallbackHandler {
@@
-98,7
+98,7
@@
public class AuthPassword implements CallbackHandler {
public static AuthPassword matchAuthValue(Attributes attributes, char[] value) {
try {
public static AuthPassword matchAuthValue(Attributes attributes, char[] value) {
try {
- Attribute authPassword = attributes.get(LdapAttr
s
.authPassword.name());
+ Attribute authPassword = attributes.get(LdapAttr.authPassword.name());
if (authPassword != null) {
NamingEnumeration<?> values = authPassword.getAll();
while (values.hasMore()) {
if (authPassword != null) {
NamingEnumeration<?> values = authPassword.getAll();
while (values.hasMore()) {
@@
-123,7
+123,7
@@
public class AuthPassword implements CallbackHandler {
}
public static boolean remove(Attributes attributes, AuthPassword value) {
}
public static boolean remove(Attributes attributes, AuthPassword value) {
- Attribute authPassword = attributes.get(LdapAttr
s
.authPassword.name());
+ Attribute authPassword = attributes.get(LdapAttr.authPassword.name());
return authPassword.remove(value.toAuthPassword());
}
return authPassword.remove(value.toAuthPassword());
}