projects
/
lgpl
/
argeo-commons.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename remote auth interfaces
[lgpl/argeo-commons.git]
/
org.argeo.cms
/
src
/
org
/
argeo
/
cms
/
auth
/
IdentLoginModule.java
diff --git
a/org.argeo.cms/src/org/argeo/cms/auth/IdentLoginModule.java
b/org.argeo.cms/src/org/argeo/cms/auth/IdentLoginModule.java
index f5e4085c32a97e456822e60877c99f8ef121b473..32219dd8794d9bbd2b93108428df5e4a412ee281 100644
(file)
--- a/
org.argeo.cms/src/org/argeo/cms/auth/IdentLoginModule.java
+++ b/
org.argeo.cms/src/org/argeo/cms/auth/IdentLoginModule.java
@@
-34,7
+34,7
@@
public class IdentLoginModule implements LoginModule {
public boolean login() throws LoginException {
if (callbackHandler == null)
return false;
public boolean login() throws LoginException {
if (callbackHandler == null)
return false;
-
HttpRequestCallback httpCallback = new HttpRequest
Callback();
+
RemoteAuthCallback httpCallback = new RemoteAuth
Callback();
try {
callbackHandler.handle(new Callback[] { httpCallback });
} catch (IOException e) {
try {
callbackHandler.handle(new Callback[] { httpCallback });
} catch (IOException e) {
@@
-42,7
+42,7
@@
public class IdentLoginModule implements LoginModule {
} catch (UnsupportedCallbackException e) {
return false;
}
} catch (UnsupportedCallbackException e) {
return false;
}
-
Http
Request request = httpCallback.getRequest();
+
RemoteAuth
Request request = httpCallback.getRequest();
if (request == null)
return false;
IdentClient identClient = Activator.getIdentClient(request.getRemoteAddr());
if (request == null)
return false;
IdentClient identClient = Activator.getIdentClient(request.getRemoteAddr());