wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes Apache Shiro deny access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Apache Shiro deny access " Watch "Apache Shiro deny access " New topic
Author

Apache Shiro deny access

Amr k. Saleh
Ranch Hand

Joined: Aug 23, 2010
Posts: 41
Dears,

how can i deny access in apache shiro ? for example, i don't want logged in users to access login and register pages
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42935
    
  68
Assuming these are JSP pages, you can use appropriate tags of Shiro's tag library: http://shiro.apache.org/web.html#Web-taglibrary

Or perform the check in the Java controller code that forwards to those pages, and take appropriate action there.
Amr k. Saleh
Ranch Hand

Joined: Aug 23, 2010
Posts: 41
thanks Ulf Dittmer.

so, i have to do it manually, nothing to do in ini file
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache Shiro deny access