[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2009-03-30 Thread zithuba
Hi, I am having a problem with the same ejb security. I have read a lot of the articles and forums but I still have the problem. I use Anil`s setup for the Jaas security login modules and deploy it with my app. It gets deployed, and I used the JB AS5 way of propagating login credentials as you

[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2009-03-30 Thread Wolfgang Knauf
Hi, client.login must be called only once. Please start a new thread, and provide us with more details on your login module and security configuration and on your client code. Did you check that your user is authenticated by the login module? Maybe the login fails and the login module falls

[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2009-03-30 Thread zithuba
H, I created this thread: http://www.jboss.org/index.html?module=bbop=viewtopicp=4222074#4222074 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4222075#4222075 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4222075

[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2008-12-28 Thread jaikiran
jaikiran wrote : | This works with JBoss-5.0 GA. | Spoke too soon. A bit of debugging shows that using SecurityClient client = SecurityClientFactory.getSecurityClient(); | client.setSimple(anil, mypass); | from a standalone client to access a secure EJB on JBoss-5.0 GA server always

[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2008-12-28 Thread jaikiran
jaikiran wrote : However, is there a way where i can clear of the user credentials and relogin with a new password. The usecase i am trying is : | | // Login with incorrect password | | SecurityClient client = SecurityClientFactory.getSecurityClient(); | | client.setSimple(anil,

[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2008-12-28 Thread jaikiran
jaikiran wrote : | A bit of debugging shows that using | | SecurityClient client = SecurityClientFactory.getSecurityClient(); | | client.setSimple(anil, mypass); | | | | from a standalone client to access a secure EJB on JBoss-5.0 GA server always fails with Invalid User.

[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2008-12-22 Thread jaikiran
SecurityClient client = SecurityClientFactory.getSecurityClient(); | client.setSimple(anil, mypass); | This works with JBoss-5.0 GA. However, is there a way where i can clear of the user credentials and relogin with a new password. The usecase i am trying is : // Login with incorrect

[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2008-11-09 Thread [EMAIL PROTECTED]
| SecurityClient client = SecurityClientFactory.getSecurityClient(); | client.setSimple(anil, mypass); | | or | | client.setJaas(other, mycallbackhandler); | | client.login(); | |

[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation and ClientLoginModule authentication

2008-11-05 Thread [EMAIL PROTECTED]
Hi Javid I have the same Problem with the JndiLoginInitialContextFactory approach. The sample runs fine with JBoss 4.2.2.GA but with Version 5.0.0.CR2 i'm getting an Invalid User Message. You can find another non JAAS approach (with the usage of LoginContext) here: