user3613349
user3613349

Reputation: 11

Authentication free spring security

On my application the main page is free an the rest of views requires authetication,now i want to set authentication free for some views i don know how.

    <intercept-url pattern="/" access="permitAll" />
    <intercept-url pattern="/choices/**" access="hasRole('ROLE_ADMIN')" />
    <intercept-url pattern="/member/**" access="isAuthenticated()" />
    <intercept-url pattern="/resources/**" access="permitAll" />
    <intercept-url pattern="/login/**" access="permitAll" />
    <intercept-url pattern="/**" access="isAuthenticated()" />

How i can set authentication free form the view `main/webapp/web-inf/views/rooms/list.jspx

Upvotes: 0

Views: 48

Answers (1)

Poorna Subhash
Poorna Subhash

Reputation: 2128

<http:http pattern="public url pattern" security="none"/> 

look at reference document For detail and search for security="none".

Upvotes: 1

Related Questions