]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.security.ui.rap/plugin.xml
Simplify authentication
[lgpl/argeo-commons.git] / org.argeo.security.ui.rap / plugin.xml
index 84df522b00c8156f75514bad6f51b343ee5cd575..d383dbf39dcc3ad7ebc278e9984a5e1829886685 100644 (file)
             path="/public"
             brandingId="org.argeo.security.ui.rap.defaultBranding">
       </entrypoint>
+      <entrypoint
+            brandingId="org.argeo.security.ui.rap.defaultBranding"
+            class="org.argeo.security.ui.rap.RapLoginEntryPoint"
+            id="org.argeo.security.ui.rap.secureEntryPoint"
+            path="/login">
+      </entrypoint>
    </extension>
 
        <!-- COMMANDS --> 
                  <enabledWhen>
                    <with variable="roles">
                      <iterate ifEmpty="false" operator="or">
-                       <equals value="ROLE_ANONYMOUS" />
+                       <equals value="cn=anonymous,ou=roles,ou=node" />
                      </iterate>
                    </with>
                  </enabledWhen>
                        <not>
                    <with variable="roles">
                      <iterate ifEmpty="false" operator="or">
-                       <equals value="ROLE_ANONYMOUS" />
+                       <equals value="cn=anonymous,ou=roles,ou=node" />
                      </iterate>
                    </with>
                    </not>
             body="branding/empty.html">
        </branding>
        </extension>
-</plugin>
\ No newline at end of file
+</plugin>