james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Intelekia" <inte...@intelekia.com>
Subject RE: Linux account integration
Date Mon, 03 May 2004 07:09:06 GMT
Hi Serge, sorry for late reply (weekend out... ;-)

I guess you cannot do that (or at least I don't know how) - the whole idea
of using a auth text script to link the auth module to the authenticating
application is to keep a strict independence and code portability (the
authenticating application doesn't know anything - doesn't care - about the
auth method).

Since the auth text script if provided as a java command-line parameter, I
envision two possible solutions:

1) determine the authentication method at compilation (as a parameter to
Jame's build.xml). Of course this can always be changed by editing the auth
text script manually - could be explained in the documentation.

2) determine the authentication method at startup (as a parameter to the
.bat / .sh that starts James, that tells which auth method to select from a
pool of auth text scripts).

Best regards,

Isaac.

-----Original Message-----
From: Serge Knystautas [mailto:sergek@lokitech.com] 
Sent: viernes, 30 de abril de 2004 14:51
To: James Developers List
Subject: Re: Linux account integration

Intelekia wrote:
> Hi Serge,
> 
> The best option is JAAS (Java Authentication and Authorization Service),
> introduced as an optional package in J2SE 1.3 and integrated into J2SE
1.4.
> It implements a Java Pluggable Authentication Module (PAM) framework to
> provide single authentication against Unix, Windows, Kerberos, etc.
> 
> Please check the enclosed very simplified demo code. 

Isaac,

Thanks very much for the sample code.  Is there any way I can define the 
auth module at runtime?  I'd like to let a user configure which type of 
authentication they're using in our conf file.

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message