> > In the new framework(that I am still testing), you will have access to the > > Subject in a portable way if you are using the JAAS subject based proxy > > mechanism since you can do: > > > AccessControlContext acc = AccessController.getContext(); > > Subject subject = Subject.getSubject(acc); > > > as method invocations are run within a Subject.doAsPrivileged() block. > This sounds rather attractive. > Just one question: you say "in a portable way", what do you mean? > Is this way supported by some other EJB servers? > Is it mentioned in some J2EE related specification? It would be portable in the sense that IF and app server supported full JAAS security then the above code works. A number of app servers are mentioning support for JAAS, but I have not seen any details. None of the EJB or J2EE specs I have read really are talking about subject based authorization yet so the use of "portable" is speculative. -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
- Re: [jBoss-User] Problems with Principal class propaga... Scott M Stark
- RE: [jBoss-User] Problems with Principal class pr... Cor Hofman
- [jBoss-User] What's the right place for appli... Alexander Jerusalem
- Re: [jBoss-User] Problems with Principal clas... Scott M Stark
- RE: [jBoss-User] Problems with Principal ... Cor Hofman
- Re: [jBoss-User] Problems with Princi... Scott M Stark
- RE: [jBoss-User] Problems with P... Cor Hofman
- Re: [jBoss-User] Problems with P... Oleg Nitz
- Re: [jBoss-User] Problems wi... Scott M Stark
- Re: [jBoss-User] Problems wi... Oleg Nitz
- Re: [jBoss-User] Problems wi... Scott M Stark
- Re: [jBoss-User] Problems with Principal class propaga... Oleg Nitz
- RE: [jBoss-User] Problems with Principal class pr... Cor Hofman
- RE: [jBoss-User] Problems with Principal class pr... Cor Hofman
- RE: [jBoss-User] Problems with Principal class pr... Cor Hofman
- Re: [jBoss-User] Problems with Principal clas... Oleg Nitz
- RE: [jBoss-User] Problems with Principal ... Cor Hofman
- Re: [jBoss-User] Problems with Princi... Oleg Nitz
- RE: [jBoss-User] Problems with P... Cor Hofman
- Re[2]: [jBoss-User] Problems... Oleg Nitz
- RE: Re[2]: [jBoss-User] Prob... Cor Hofman
