jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lybarger <Mark.Lybar...@CBC-Companies.com>
Subject RE: Q: Authentication
Date Fri, 07 Nov 2003 20:13:53 GMT
This sounds more like an issue with jboss than a cactus issue. 

> -----Original Message-----
> From: J. B. Rainsberger [mailto:jbrains@rogers.com]
> Sent: Friday, November 07, 2003 3:03 PM
> To: Cactus Users List
> Subject: Re: Q: Authentication
> 
> 
> Is there really no answer for this out there?
> 
> J. B. Rainsberger wrote:
> 
> > Everyone:
> > 
> > I have solved my problem, but I do not understand why it 
> works. If this 
> > is not a Cactus issue, then let me know so I can ask the 
> nice JBoss people.
> > 
> > I am testing EJB method permissions. I have configured the 
> EJBs so that 
> > only the role "administrator" can invoke the EJB in 
> question. I have two 
> > users: one is an "administrator" and the other is a "user".
> > 
> > I wanted to write the test saying that a "user" cannot 
> invoke the EJB in 
> > question. The test itself was easy to write. My question was how in 
> > JBoss to say "everyone is in role 'allAuthenticatedUsers'," 
> as this is a 
> > feature of WebSphere with which I am familiar. I was unable 
> to find an 
> > answer, so in desperation, I just tried the following, and 
> it worked:
> > 
> > 1. Configure my test web app to authenticate users with 
> > auth-constraint/role-name=allAuthenicatedUsers.
> > 
> > 2. Execute the tests, and they passed.
> > 
> > Nowhere did I connect any user to the role 
> allAuthenticatedUsers. So how 
> > the hell did this work?
> > 
> > Cactus 1.6dev/JBoss 3.2.2/Tomcat 4.1.27
> > 
> > Any ideas?
> -- 
> J. B. Rainsberger,
> Diaspar Software Services
> http://www.diasparsoftware.com :: +1 416 791-8603
> Let's write software that people understand
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003
>  
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003
 


Mime
View raw message