Hi,
How can you give someone a security-role?
when someone accesses a certain jsp, I want to give them a role (no authentication)
how is this possible? All of the examples I've seen require some sort of login.
eg. something like:
user.setRole("manager");
where I have defined manager:
<security-role>
<description>A manager</description>
<role-name>manager</role-name>
</security-role>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>manager</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/loginError.jsp</form-error-page>
</form-login-config>
</login-config>
many thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]