[jboss-user] [Security & JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2007-10-09 Thread patwary_shiva
I am getting Bad password for username=admin Below is the stack trace of the exception : authInfo=AppConfigurationEntry[]: [0] LoginModule Class: org.jboss.security.ClientLoginModule ControlFlag: LoginModuleControlFlag: required Options:[1] LoginModule Class: org.imixs.jboss.security.LdapLoginMod

[jboss-user] [Security & JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2007-10-09 Thread patwary_shiva
I am trying to use with sun one ldap it is not working.Is there any Mbean similar to weblogic LDAPAuthenticatorMBean which can give me information about the ldap View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093195#4093195 Reply to the post : http://www.jb

[jboss-user] [Security & JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2007-10-09 Thread rsoika
hi sorry I had only tested it with IBM Lotus Domino LDAP Directory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093107#4093107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093107 __

[jboss-user] [Security & JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2007-10-09 Thread patwary_shiva
Does it work with sun one ldap or active directory? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093101#4093101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093101 ___

[jboss-user] [Security & JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2006-09-15 Thread rsoika
hi, yes I have changed this. I also implememented a new version with extended functionality. Documentation and also source is available at: http://www.imixs.org/websites/imixs-org.nsf/chapter/0300.0100.0020.?OpenDocument This Modul works perfect with an IBM Lotus Domino LDAP and is able to resol

[jboss-user] [Security & JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2006-09-13 Thread [EMAIL PROTECTED]
Good Day, Your commit should only do your logic if the login was OK. Look at the LDAPLoginModule's parent class, you'll see that there is a protected variable `loginOK` which is set to true in the login() method and should be checked in the commit() method. View the original post : http://www

[jboss-user] [Security & JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2006-09-13 Thread rsoika
Hi and thanks a lot for your Help! I works! I wrote the following new LDAPLogin Modul which converts the Login Name into the corresponding Distinguished name of the LDAP Directory the User authenticates : package org.imixs.jboss.security; | | import org.jboss.security.*; | import org.jb

[jboss-user] [Security & JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2006-09-13 Thread [EMAIL PROTECTED]
Good Day, There are two parts this: 1. Customise the Principal class 2. Retrieving the CallingPrincipal 1. Customise the Principal class By default the LoginModules in JBoss make use of the SimplePrincipal class to denote principals in the system. It is easy to change the principal that the Log