shiroѧ*ʼģshiro*urlƥ

ڣ2021-10-25 12:18:12

ۺʵshiroİťȨ޹ϵͳ


һʹó


?????????עshirourlƥһʹڶshiroFilterУڶָԴй



URLƥ


1?ƥһַ硱/admin?ƥ䡰 /admin1/admin2ƥ䡰/admin


2*ƥַ硰/admin*ƥ䡰 /admin/admin123ƥ䡰/admin/1


3**ƥ·е·硰/admin/**ƥ䡰/admin/a/admin/a/b


shiro



1anonʾͨurlõԴԷʣ/statics/**=anonʾstaticsĿ¼Դܷ


2authcڱĹʾͨurlõԴҪ¼֤ת¼/unauthor.jsp=authcûûе¼unauthor.jspֱת¼


3authcBasicBasic֤ʾͨurlõԴʾ֤/welcom.jsp=authcBasicwelcom.jspʱᵯ֤


4permsȨ޹ʾͨurlõԴӦȨޣ/statics/**=perms["user:add:*,user:modify:*"]ʾstaticsĿ¼µԴʱֻ޸ĵȨ


5port˿ڹʾ֤ͨurlõԴĶ˿ںţ/port.jsp=port[8088]port.jspʱ˿ںŲ8088ʾ


6restrestful͹ʾͨurlõԴrestful飬/welcom=rest[user:create]ʾͨrestfulwelcomԴʱֻȨ


7rolesɫʾͨurlõԴǷӵиýɫ/welcom.jsp=roles[admin]ʾwelcom.jspҳʱǷӵadminɫ


8sslsslʾͨurlõԴֻͨhttpsЭʣ/welcom.jsp=sslʾwelcom.jspҳЭ鲻httpsʾ


9userûʾʹõ¼֤/סҵķʽͨurlõԴ/welcom.jsp=userʾwelcom.jspҳͨ¼֤ʹüסҺʣֱת¼


10logout˳*ʾִlogoutתͨurlõԴ/logout.jsp=logoutʾִlogoutֱתlogout.jspҳ


ġ


1֤anonauthcBasicauchcuserlogout


2Ȩpermsrolessslrestport



ת:https://my.oschina.net/tij/blog/1929288

Ƽ