-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Is it correct the following configuration in the file applicationContext.xml?
<sec:http pattern="/admin/**" create-session="never">
<sec:http-basic entry-point-ref="restAuthenticationEntryPoint"/>
<sec:intercept-url pattern="/**" access="ROLE_USER"/>
</sec:http>
<sec:http pattern="/action/user" create-session="never">
<sec:http-basic entry-point-ref="restAuthenticationEntryPoint"/>
<sec:intercept-url pattern="/**" access="ROLE_USER"/>
</sec:http>
The pattern="/admin/**" is associated with ROLE_USER. Is it correct? or should it be associated with ROLE_ADMIN?
Metadata
Metadata
Assignees
Labels
No labels