I had the some problem, seems there may be a way around it, but i never
figured it out.

ivan
----- Original Message -----
From: "Wei-ju Wu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 21, 2001 11:43 PM
Subject: [JBoss-user] JBoss security


> Hi,
>
> I played around with the security in JBoss and
> did the following (as in the JBoss-JAAS documentation):
>
> 1. added this line to the jboss.xml of my beans
>
>   <security-domain>java:/jaas/hades</security-domain>
>
> 2. created a user.properties file
>
> admin=admin
> develop=develop
>
> 3. created a roles.properties file
>
> admin=administrator
> develop=developer
>
> 4. Of course I assigned the methods-permissions to the role
"administrator"
> in the ejb-jar.xml
>
> Then I wrote a simple login client using the property file based login.
> So far so good, logging in works for me - on the client side:
>
> User 'admin' authenticated.
>
> But the AppServer keeps on telling me
>
> [Default] User 'null' authenticated
> [UserManager] Insufficient method permissions, principal=null,
> method=create,
> requiredRoles=[administrator]
>
> Did I leave something out in the server configuration ? What can I
> do to get this right ?
>
> Wei-ju
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to