[JBoss-user] [Security & JAAS/JBoss] - custom login module & webservice

2006-05-26 Thread ppradhan
Hi, I am trying to use a custom logInmodule extending usernamePasswordLoginModule which works fine when I validate the password locally. What I would like to do is use a webservice to validate the username,password pair. It seems the code hangs creating the stub. Does this mean it is not a goo

[JBoss-user] [Security & JAAS/JBoss] - Custom Login Module and Web Context?

2005-11-20 Thread bbeloff
Hi I've got a situation where the context-root of each of a number of web applications should be used as part of the WHERE clause in the principalsQuery of a database login module. Specifically, I have a number of web applications that should share a single login module. But when the query to

[JBoss-user] [Security & JAAS/JBoss] - Custom login module issues.

2005-11-17 Thread tosenthu
Hai I wrote a servlet to do my login check. where i call logincontext.login(). and based on the exception i conclude the success of the login. My problem is, even after a successfull login, the roles that i get using getRoleSet() is not set in the request. request.isUserinRole() method retur

[JBoss-user] [Security & JAAS/JBoss] - custom login module with tomcat

2005-09-26 Thread mwinkels
Hello, We use a custom (JAAS) login module, which builds a custom prinicipal. When logging in as a remote client, everything works fine. The client-side JAAS login module communicates with the server-side login module, the login is performed and the prinicipal is authenticated against our own

[JBoss-user] [Security & JAAS/JBoss] - Custom login module class not loaded

2005-06-27 Thread netcetera
We wrote a customized login module (PassDatabaseServerLoginModule extends DatabaseServerLoginModule) but it seems as this class doesn't get loaded. The class is JARed to $JBOSS_HOME/server/default/lib/. login-config.xml snip: | | | | guest |

[JBoss-user] [Security & JAAS/JBoss] - Custom Login Module Config

2005-06-09 Thread luiz.santanna
Hello, I need to build a LoginModule from scratch, so I extended the AbstractServerLoginModule and implemented the necessary methods, and I setup a application-policy in the login-config.xml. I've also included the jboss-web.xml in my WEB-INF folder with the tag pointing to the app policy I de

[JBoss-user] [Security & JAAS/JBoss] - Custom Login Module

2005-05-17 Thread krishnaswamy.v
Hi I am trying to port my application from weblogic to JBOSS4.0.2. We have implemented JAAS way of authentication in weblogic flavour of my application. actually in my server side authentication does some appication specific logic like not locking a default user, and throwing custome exception

[JBoss-user] [Security & JAAS/JBoss] - Custom Login Module -> JDK1.5 compiler error on super.initia

2004-10-26 Thread wcrosman
... public class RMROracleJBossLoginModule extends UsernamePasswordLoginModule { ... public void initialize(Subject arg0, CallbackHandler arg1, Map arg2, Map arg3) { super.initialize(arg0, arg1, arg2, arg3); ... } } [javac] C:\code\weblib\src\jav

[JBoss-user] [Security & JAAS/JBoss] - Custom Login Module: Errors with 3.2.4

2004-07-29 Thread cbuckley
I have a custom login module that I have been using with 3.2.3 successfully. I am trying to move my applications to 3.2.4 and I am getting the following error when trying to authenticate. 09:22:30,885 DEBUG [TransAriaJaasLoginModule] %%% Initialize has been called %%% 09:22:30,885 DEB

[JBoss-user] [Security & JAAS/JBoss] - Custom login module

2004-07-09 Thread kcochrane
Hello, I have implemented a class that extends the UsernamePasswordLoginModule to allow authentication against our own system. It also provides authorisation by returning a group (with the name "Roles") from the getRoleSets method, which contains dynamically queried roles. This allows us to set

[JBoss-user] [Security & JAAS/JBoss] - Custom login module

2004-06-21 Thread Ganton
I am using JBoss 3.2.2, and I am attempting to convert a custom login module from JBoss 3.0.4. I do not have password hashing enabled, and yet the raw password, does not appear to be "raw" when it gets to my convertRawPassword() function. Anybody have an idea why ? View the original post :

[JBoss-user] [Security & JAAS/JBoss] - custom login module

2004-03-29 Thread sanjuthomas
hi all, we are trying to migrate from weblogic to jboss, so we need to implement a custom security class, we have written a custom security class. but we are unaware about the loading stratagies of this cusotm class, if somebody know how to load this class and make use of this class to secure E

[JBoss-user] [Security & JAAS/JBoss] - custom login module class using UsernamePasswordLoginModule

2004-03-29 Thread sanjuthomas
hi all, we are trying to migrate from weblogic to jboss, so we need to implement a custom security class, we have written a custom security class. but we are unaware about the loading stratagies of this cusotm class, if somebody know how to load this class and make use of this class to secure E

[JBoss-user] [Security & JAAS/JBoss] - Custom Login Module using UsernamePasswordLoginModule

2004-03-29 Thread sanjuthomas
hi all, we were using weblogic, now we are migrating to jboss, so need to implement a security system, we have written a class that extends UsernamePasswordLoginModule, that alomost like DatabaseServerLoginModule class, or we made changes in the DatabaseServerLoginModule Class, according to our

[JBoss-user] [Security & JAAS/JBoss] - custom login module using AbstractServerLoginModule

2004-03-14 Thread ahardy66
I wrote a custom login module extending the AbstractServerLoginModule. I have successfully set it up so that it is being called when I try to access a protected page on my website, and it looks up the user and roles via a local-tx-datasource. I can see from the logging output that it initialize