> From: Page, Steve C. [mailto:[EMAIL PROTECTED]
> Subject: RE: how to set role for JAASRealm
>
> Since I extended Principal, I also needed to extend
> BaseRealm.
That doesn't necessarily follow. We're using custom Principal,
RolePrincipal, and LoginModule class
Shahab-
I am hardly an expert, but I have just created a custom principal. Here
is what I learned. The RealmBase class is responsible for creating
principals for the context. Normally, this is just a Principal class.
Since I extended Principal, I also needed to extend BaseRealm. The realm
class m
Hi
First of all, are you sure a JDBCRealm or a DataSourceRealm do not fill your
needs ?
Secondly, AFAIK when providing a Jaas module to the JaasRealm you just need
to provide the authentication method (LoginModule inteface). You don't have
to manipulate the loginContext, it is the JaasRealm job .
> From: shahab [mailto:[EMAIL PROTECTED]
> Subject: how to set role for JAASRealm
>
> I have also made entries in server.xml as follows (i set
> debug to 0 hoping for more debug info,
The value "0" provides minimal diagnostic information; "99" is what you
really want. Check all the logs to mak