Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Access servlet without login

$
0
0

I implemented a plugin.All is working but i want to use my servlet without login just like we can access PresentStatusServelt (Which is in presence plugin by "http://localhost:9090/plugins/presence/status") without login.

 

my init() method code of servlet is:

 

@Override

        public void init(ServletConfig servletConfig) throws ServletException {

            super.init(servletConfig);

           // Exclude this servlet from requiring the user to login

        AuthCheckFilter.addExclude("myplugin/upload");

    }

 

 

so   why AuthCheckFilter.addExclude("myplugin/upload");  this method is not working for me. When i directly hit my servlet without login.I always redirected for login page..Am I missing something..


Viewing all articles
Browse latest Browse all 10742

Trending Articles