Fix HTTP sesison auth
[lgpl/argeo-commons.git] / org.argeo.cms.ui.workbench.rap / src / org / argeo / security / ui / rap / AnonymousEntryPoint.java
index a169ce77a92b7fbeb2ffb8594a63bdc2e016d5cc..5ff9e4093938dba0fb6c42dfa2feadf83fbed611 100644 (file)
@@ -56,7 +56,7 @@ public class AnonymousEntryPoint implements EntryPoint {
 
                final LoginContext loginContext;
                try {
-                       loginContext = new LoginContext(NodeConstants.LOGIN_CONTEXT_ANONYMOUS,
+                       loginContext = new LoginContext(NodeConstants.LOGIN_CONTEXT_USER,
                                        subject);
                        loginContext.login();
                } catch (LoginException e1) {