Oh right, I see what you're trying to do now :-)

I think what I would do is take the username / password and in the Authenticate 
method try and validate it as both a user and an admin and then set the role to 
whichever one it validates as.

Obviously the one assumption here is that there will never be a user with the 
same user name as an existing employee ID but you could put measures in place 
to prevent this.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120929#4120929

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120929
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to