Hi,

i have create a simple JSF2 app and added Shiro as per documentation.  I
am using a SNAPSHOT version 1.2 (2011-12-29)
The installation is working fine except that it does not accept username
and password - using shiro.ini storage
i have tried;
user: lonestarr
pass: vespa

but it does not get recognised at all
is there something that i should change on the configuration below?

thanks,

Nicolas


===========================================================================
===========================================================================


[main]

# defining the FormAuthenticationFilter ('authc') - it is instantiated
and available already:
authc.loginUrl = /authetication_action/login.xhtml
authc.usernameParam = j_username
authc.passwordParam = j_password
authc.rememberMeParam = j_rememberMe


#
=============================================================================
# Tutorial INI configuration
#
# Usernames/passwords are based on the classic Mel Brooks' film
"Spaceballs" :)
#
=============================================================================

#
-----------------------------------------------------------------------------
# Users and their (optional) assigned roles
# username = password, role1, role2, ..., roleN
#
-----------------------------------------------------------------------------
[users]
root = secret, admin
guest = guest, guest
presidentskroob = 12345, president
darkhelmet = ludicrousspeed, darklord, schwartz
lonestarr = vespa, goodguy, schwartz

#
-----------------------------------------------------------------------------
# Roles with assigned permissions
# roleName = perm1, perm2, ..., permN
#
-----------------------------------------------------------------------------
[roles]
users = schwartz, user:profile, user:pages
admin = *
schwartz = lightsaber:*
goodguy = winnebago:drive:eagle5

[urls]

/authetication_action/** = anon
/content_available/** = anon
/error_page/** = anon

# form to authenticate users
/authetication_action/login.xhtml = authc

/content_profile_user/** = authc, roles[users]
/content_restricted/** = authc, roles[users]
/content_secureAdmin/** = authc, roles[admin]


===========================================================================
===========================================================================


-- 
sent with Debian Linux (http://www.debian.org)
free yourself into a safer internet
this message is only intended to its recipient

Reply via email to