Gotcha, figured out a way to do it, thanks, but the problem I seem to be
having issues with my shiro.ini file.

[main]

shiro.loginUrl = /login.jsp
authc.successUrl = /viewer.jsp

cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
securityManager.cacheManager = $cacheManager



[users]
hr = 12345
guest = 123,guest

[roles]
admin = *

[urls]
viewer.jsp = authc
/login.jsp = authc
/logout = logout
/admin/** = authc, roles[admin]


Am I missing something, or...?

I tried to see if there was other stuff and I did see a mention of 

Realm realm = //instantiate or acquire a Realm instance.  We'll discuss
Realms later.

SecurityManager securityManager = new DefaultSecurityManager(realm);

//Make the SecurityManager instance available to the entire application via
static memory:
SecurityUtils.setSecurityManager(securityManager);


But I'm not using a realm soo....

Thanks for the help.




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

Reply via email to