Okay so I got it working lol...

I was reading up at the bottom of the config page and it talks about
specifying roles and that if you put it in a user field it will create it,
and since I didn't do anything with the admin role I specified I deleted it,
as well as the links at the bottom "logout" and /admin" which didn't exist
they were just from the tutorial so I added them.

Now it works for the most part.

I tried to go back to the login page and tried to relogin in and it seems
that it wouldn't let me use another username/password or even the same one
so what's up with that?

I noticed when I loaded my page it had some sort of session ID added to
it...

I appreciate the link, it had this


sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
sessionDAO = org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO

securityManager.sessionManager = $sessionManager
securityManager.sessionManager.sessionDAO = $sessionDAO

which seemed to be needed.  I saw this before, but wasn't sure.

I also do not know if I need the cachemanager as this other project does
not.


Also when I tried to re-run my netbeans project it went directly to my
viewer.jsp instead of login...  I would think after closing it down and
re-runing it in netbeans it would reset the application????

Also it seems that I'm having issues connecting to my servlet now, I don't
know why this would have mad an issue.. I'm going to reset netbeans now as
sometimes it does really weird crap and needs a shut down every now and then
:P.

Thanks for the help, much appreciated, almost done!!!



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Looking-to-create-a-3-field-authentication-i-e-username-id-password-tp7580118p7580130.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to