-
1. Re: Windows Authentication with Jboss
peterj Sep 9, 2008 11:16 AM (in response to mangal9i)Are the Windows accounts being managed by Active Directory? If so, see http://wiki.jboss.org/wiki/LdapExtLoginModule.
I also have another source, but it is not free. I can provide the URL if you are interested. -
2. Re: Windows Authentication with Jboss
francis17101970 Sep 9, 2008 11:18 AM (in response to mangal9i)Hello,
what you want to do simply you cannot do it in Java because it would be something platform dependant. Maybe you could look for a Single Sign On Module but I'm not aware of any that can do what you want.
The only thing you have got from a Java Main isSystem.getProperty("user.name")
which will return your windows user name.
regards -
3. Re: Windows Authentication with Jboss
mangal9i Sep 10, 2008 12:22 AM (in response to mangal9i)Thnks Peter and Francis.
yes Peter you can send me the Url.
Many thanks -
4. Re: Windows Authentication with Jboss
mangal9i Sep 10, 2008 12:23 AM (in response to mangal9i)I will try the solution given by you and will let you know.
-
5. Re: Windows Authentication with Jboss
mangal9i Sep 10, 2008 12:27 AM (in response to mangal9i)"PeterJ" wrote:
Are the Windows accounts being managed by Active Directory? If so, see http://wiki.jboss.org/wiki/LdapExtLoginModule.
I also have another source, but it is not free. I can provide the URL if you are interested.
Hi Peter,
Just going through the link given by you, That arcticle talks about the jboss-4.0.3, and I'm having Jboss 2.0 will it work there? -
6. Re: Windows Authentication with Jboss
peterj Sep 10, 2008 11:27 AM (in response to mangal9i)JBoss 2.0? Are you using JBoss Web Server? Also, is it really version 2.0 or is it 2.1? I ask because I could not find where to download 2.0 (I could find only 1.0.1 and 2.1).
The wiki link is for the JBoss Application Server, and though it mentions version 4.0.3, the steps apply to 4.2.x and to 5.0. You can also apply the same steps to JBoss Web Server 1.0 because it uses the same basic configuration options as JBoss Application Server.
However, JBoss Web Server 2.1 reverts back to the original Tomcat directory structure, and thus probably also reverts back to the original Tomcat configuration options. Therefore, neither the wiki page I gave nor the additional non-free resource I offered will help. However, 2.1 does come with the docs which should provide login configuration information. -
7. Re: Windows Authentication with Jboss
mangal9i Sep 11, 2008 12:29 AM (in response to mangal9i)Hi Peter,
I check into the server Info and I saw this JbossWeb/2.0.0GA. So I guess it's web server.
Anything more?
And as I told previously, I din't istall the Jboss Seperatly, It got installed with the setup of Pentaho open source BI. So don't even have any configuration information documents for Jboss.
Regards -
8. Re: Windows Authentication with Jboss
peterj Sep 11, 2008 11:14 AM (in response to mangal9i)I check into the server Info and I saw this JbossWeb/2.0.0GA. So I guess it's web server.
Not necessarily - the App Server contains the Web Server so this line would still show up (in which case you are running JBoss Application Server 4.2.1.GA - it contains JBoss Web 2.0.0.GA)
Let's try another way - do you have a file server/xxx/conf/login-config.xml under the JBoss directory? (where 'xxx' is a configuration name - it could be anything) If so, then the link I provided earlier will work for you. -
9. Re: Windows Authentication with Jboss
mangal9i Sep 16, 2008 1:59 AM (in response to mangal9i)Hi peter,
I had login-xml in 2 places
one is at
\pentaho\bi-server\jboss\server\default\conf
and 2nd one at
pentaho\bi-server\jboss\server\default\deploy\jboss-portal.sar\conf -
10. Re: Windows Authentication with Jboss
peterj Sep 16, 2008 11:36 AM (in response to mangal9i)This gets better with every post. You are actually running JBoss Application Server with JBoss Portal. I had no idea that Pentaho came with JBoss Portal.
You can use the link I provided for every application other than the Portal.
For JBoss Portal, see http://wiki.jboss.org/wiki/ConfigurePortalForMicrosoftActiveDirectory