import javax.security.auth.callback.PasswordCallback;
import javax.security.auth.callback.UnsupportedCallbackException;
-import org.argeo.osgi.useradmin.UserDirectoryException;
-
/** LDAP authPassword field according to RFC 3112 */
public class AuthPassword implements CallbackHandler {
private final String authScheme;
}
return null;
} catch (NamingException e) {
- throw new UserDirectoryException("Cannot check attribute", e);
+ throw new IllegalStateException("Cannot check attribute", e);
}
}