Rename remote auth interfaces
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / auth / IdentLoginModule.java
index f5e4085c32a97e456822e60877c99f8ef121b473..32219dd8794d9bbd2b93108428df5e4a412ee281 100644 (file)
@@ -34,7 +34,7 @@ public class IdentLoginModule implements LoginModule {
        public boolean login() throws LoginException {
                if (callbackHandler == null)
                        return false;
-               HttpRequestCallback httpCallback = new HttpRequestCallback();
+               RemoteAuthCallback httpCallback = new RemoteAuthCallback();
                try {
                        callbackHandler.handle(new Callback[] { httpCallback });
                } catch (IOException e) {
@@ -42,7 +42,7 @@ public class IdentLoginModule implements LoginModule {
                } catch (UnsupportedCallbackException e) {
                        return false;
                }
-               HttpRequest request = httpCallback.getRequest();
+               RemoteAuthRequest request = httpCallback.getRequest();
                if (request == null)
                        return false;
                IdentClient identClient = Activator.getIdentClient(request.getRemoteAddr());