[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-07-29 Thread hedinant
Finaly i find my mistake. "CallerPrinciple" is a key View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167248#4167248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167248 ___ j

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-07-28 Thread hedinant
And ... May i not define a new security domain, but reconfigure JBossWS May this be the source of strange SimplePrincipal instead of my own. I wirote a commit method as you example, but still get the SimplePrincipal ... View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-07-28 Thread hedinant
"ragavgomatam" wrote : Nope...Seperate jar file...Put it in the $JBOSS/server/lib directory OR add it to the classpath in the run.sh/run.bat...It picks ity up from there You sure? looks like it pick it from my project ear. Or may it not work as good ? View the original post : http://www.jboss

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-03-05 Thread rsanka
I think I found the answer to my problem: (thanks to JBoss test suite!) I was missing a SecurityDomain annotation on my session beans. @Stateless | @SecurityDomain("MyCustomSecurityDomain") | public class MyStatelessBean implements IMyStatelessBean | { |@Resource |SessionContext

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-03-05 Thread rsanka
Ragav: Are you able to get ejbContext.getCallerPrincipal to return your CustomPrincipal ? For example: @Stateless | public class MyStatelessBean implements IMyStatelessBean | { |@Resource |SessionContext ejbContext; | |public void testMethod() |{ | My

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-02-11 Thread [EMAIL PROTECTED]
Hi Kidda, Can you give me the configuration of this login module. Where i have to define this login module. I am using Jboss federated SSO with two application. when i define say DemoLoginProvider given by Jboss federated SSO it doesn't call this provider for login it searches for users.propert

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-02-11 Thread ragavgomatam
Nope...Seperate jar file...Put it in the $JBOSS/server/lib directory OR add it to the classpath in the run.sh/run.bat...It picks ity up from there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128514#4128514 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-02-11 Thread kidda
How to deploy this custom login module? Which jar file should it become part of? Should it be part of applicartion ear file? -Kidda View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128508#4128508 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [Security & JAAS/JBoss] - Re: looking for working example: custom login module extends

2008-01-10 Thread ragavgomatam
I have a custom login module that is working fine with jboss 4.2.1 and jboss 5 Beta 3. Caveat is I extend the AbstractServerLoginModule NOT UsernamePasswordLoginModule. But this should not a big issue as UsernamePasswordLoginModule extends AbstractServerLoginModule. So enjoy... Code package c