<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: JAAS Context erstellen - Login auf Client-Seite</title>
	<link>http://www.it-blogger.com/2006-06-13/jaas-context-erstellen-login-auf-client-seite/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 09 Feb 2012 23:42:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>

	<item>
		<title>By: Belaamoud</title>
		<link>http://www.it-blogger.com/2006-06-13/jaas-context-erstellen-login-auf-client-seite/#comment-2586</link>
		<author>Belaamoud</author>
		<pubDate>Sat, 15 Jul 2006 12:45:36 +0000</pubDate>
		<guid>http://www.it-blogger.com/2006-06-13/jaas-context-erstellen-login-auf-client-seite/#comment-2586</guid>
					<description>hi,
i am belaamoud, studies computer science in Germany. I have a probleme in JAAS (with login module Tagish).

I have written an web-application. The users are from two groups (A, B) and they login 
 under their own NTDomaine (NTDomaine_A, NTDomaine_B). The two groups are together in an Intranet and 
everyone should access the application after his authentification (login and Password). 
so that i realize this, i use config files. users from group A use the config file named config-File-A, users
from group B use the config file named config-File-B.

here are the config files:

Config-File_A: 

NTLogin_A 
  {com.tagish.auth.win32. NTSystemLogin required returnNames=true returnSIDs=false defaultDomain = "NTDomaine_A";}; 

Config-File_B: 

NTLogin_B 
{com.tagish.auth.win32. NTSystemLogin required returnNames=true returnSIDs=false defaultDomain = "NTDomaine_B";}; 

The problem is: 
if users from group A (NTDomaine_A) log in in the web Application first, the users from group B couldnt log in,
although the  user / password are right.
if i restart tomcat, and this time beginn the login with user from group B, than works (the authentification) for 
all of users from group B but not for all users from group A.


I looked in Internet and found only examples with one domain. And want to ask you if you can help me, to solve this 
for more than one domain (or group).

Thank you in advance</description>
		<content:encoded><![CDATA[<p>hi,<br />
i am belaamoud, studies computer science in Germany. I have a probleme in JAAS (with login module Tagish).</p>
<p>I have written an web-application. The users are from two groups (A, B) and they login<br />
 under their own NTDomaine (NTDomaine_A, NTDomaine_B). The two groups are together in an Intranet and<br />
everyone should access the application after his authentification (login and Password).<br />
so that i realize this, i use config files. users from group A use the config file named config-File-A, users<br />
from group B use the config file named config-File-B.</p>
<p>here are the config files:</p>
<p>Config-File_A: </p>
<p>NTLogin_A<br />
  {com.tagish.auth.win32. NTSystemLogin required returnNames=true returnSIDs=false defaultDomain = &#8220;NTDomaine_A&#8221;;}; </p>
<p>Config-File_B: </p>
<p>NTLogin_B<br />
{com.tagish.auth.win32. NTSystemLogin required returnNames=true returnSIDs=false defaultDomain = &#8220;NTDomaine_B&#8221;;}; </p>
<p>The problem is:<br />
if users from group A (NTDomaine_A) log in in the web Application first, the users from group B couldnt log in,<br />
although the  user / password are right.<br />
if i restart tomcat, and this time beginn the login with user from group B, than works (the authentification) for<br />
all of users from group B but not for all users from group A.</p>
<p>I looked in Internet and found only examples with one domain. And want to ask you if you can help me, to solve this<br />
for more than one domain (or group).</p>
<p>Thank you in advance</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: frank</title>
		<link>http://www.it-blogger.com/2006-06-13/jaas-context-erstellen-login-auf-client-seite/#comment-2778</link>
		<author>frank</author>
		<pubDate>Mon, 24 Jul 2006 19:15:09 +0000</pubDate>
		<guid>http://www.it-blogger.com/2006-06-13/jaas-context-erstellen-login-auf-client-seite/#comment-2778</guid>
					<description>Hi Belaamoud,

I'm sorry, but I have no experiences with NTDomains, because I only use unix systems. I assume the NTDomain LoginContext uses a Singleton or something like that, so that in one VM only one NTDomain-Login-Context is possible.
I hope you will find the solution for your problem.

Greets</description>
		<content:encoded><![CDATA[<p>Hi Belaamoud,</p>
<p>I&#8217;m sorry, but I have no experiences with NTDomains, because I only use unix systems. I assume the NTDomain LoginContext uses a Singleton or something like that, so that in one VM only one NTDomain-Login-Context is possible.<br />
I hope you will find the solution for your problem.</p>
<p>Greets</p>
]]></content:encoded>
				</item>
</channel>
</rss>

