[jboss-user] [JBoss Portal] - Re: Custom Login

2008-11-20 Thread guybedo
ok i have now setup a custom jsf webapp which basically uses the loginModules defined by the portal to authenticate a user. my webapp is configured to use the same JAAS security domain than the portal and using Webauthentication i manage to authenticate my users with the portal database. When

[jboss-user] [JBoss Portal] - Re: Custom Login Module Issues.

2008-08-18 Thread crimsontwilightx
hi, the problem is : login module class must be in system class path. happy news is that you can use ProxyLoginModule instead of directly declaring your class. look at the config file : login-module code=org.jboss.security.auth.spi.ProxyLoginModule flag=required |

[jboss-user] [JBoss Portal] - Re: Custom Login Module - Login Link

2008-05-14 Thread sebgerpb
I further investigated this issue. It seems to me like this has something to do with using a custom principal in the custom login module. If I override the commit()-method of AbstractServerLoginModule and only return true, JBoss Security Manager doesnt make use of my custom principal, but I can

[jboss-user] [JBoss Portal] - Re: Custom Login Module - Login Link

2008-05-14 Thread ai77
The problem is that the user has to exist in both my database/WS and the jboss-portal database. If it is so, everything works fine, my custom-login-module is called and i see the links on top of the page. Note that the user in the jboss DB just needs to have the same login (password and other

[jboss-user] [JBoss Portal] - Re: Custom Login Module - Login Link

2008-05-14 Thread sebgerpb
Hi ai77, if I unterstand the docs correctly, the synchronization of the two databases can be done by the SynchronizingLoginModule (at least for the JBoss part). It is described here:

[jboss-user] [JBoss Portal] - Re: Custom Login Module - Login Link

2008-05-13 Thread sebgerpb
Hi ai77, I have the same problem. Did you solve this one in the meantime? If yes, can you tell me how to fix it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4150330#4150330 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Custom Login Module Issues.

2007-06-08 Thread den74
i'm using 2.4.1 portal so i'm not sure it will be useful for you. What i did is: - altered conf/login-config.xml (not the one under jboss-portal.sar) configuring my application-policy - altered portal-server.war\WEB-INF\jboss-web to use my new application-policy - put my jar library under portal

[jboss-user] [JBoss Portal] - Re: Custom Login

2007-02-25 Thread ghyoju
Hi bdaw, The IdentityLoginModule class you mentioned is in package org.jboss.portal.identity.auth and extends org.jboss.security.auth.spi.UsernamePasswordLoginModule but the one I found in jbosssx.jar is in package org.jboss.security.auth.spi and extends

[jboss-user] [JBoss Portal] - Re: Custom Login

2007-02-25 Thread bdaw
jbosssx.jar contains stuff for org.jboss.security.* But I'm wondering what do you mean by use a method... UserPasswordLoginModule is an abstract class. What exactly do you want to do? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022122#4022122 Reply to the

[jboss-user] [JBoss Portal] - Re: Custom Login

2007-02-25 Thread ghyoju
Hi bdaw, IdentityLoginModule extends UsernamePasswordLoginModule so the method getUsernameAndPassword() implemented in class UsernamePasswordLoginModule is inherited by IdentityLoginModule. I want to extend IdentityLoginModule and I want to use the method getUsernameAndPassword() which is

[jboss-user] [JBoss Portal] - Re: Custom Login

2007-02-25 Thread bvogt
I would propose to build the portal from its sources and use the downloaded thirdparty libraries and the ones from the portal build. Let's assume you have extracted the portal libs into a directory and defined the following eclipse classpath variables: | JBOSS_PORTAL_LIBS =

[jboss-user] [JBoss Portal] - Re: Custom Login

2007-02-24 Thread bdaw
I don't know exactly what you want to do but here are the sources you are talking about: http://anonsvn.jboss.org/repos/jbossas/projects/security/trunk/src/main/org/jboss/security/auth/spi/UsernamePasswordLoginModule.java