A new version wil be avaible on github before the end of the year 2017
Howto :
It is better to read the files configure.txt in the directories trunk-xxx-xxx and the files trunk-xxx-xxx\example\howto.txt

There are four versions:

With the version with a dll written in C:
In your application, create a file META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context> <Valve className="fr.doume.authenticator.SSPAuthenticator"/>
<Realm className="fr.doume.realm.WindowsRealm"/>
</Context>
Copy in the directory bin of tomcat the two dll vc90\SSPAuthentification.dll and vc90\SSPAuthentificationx64.dll
With tomcat 55, copy in the directory server/lib of tomcat, the file frdoumesppitc5.jar
With tomcat6, copy in the directory lib of tomcat the file frdoumesppitc6.jar
With tomcat 7, copy in the directory lib of tomcat the file frdoumesppitc7.jar

You can modify the default configuration with parameters. see discussion (Parameters for tomcatspnego)parameters,


With the version using the project jna:
In your application, create a file META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context> <Valve className="fr.doume.jna.authenticator.SSPAuthenticator"/>
<Realm className="fr.doume.jna.realm.WindowsRealm"/>
</Context>

With tomcat 55, copy in the directory server/lib of tomcat, the files frdoumesppitc5jna.jar, jna3.4.0.jar and platform3.4.0.jar
With tomcat6, copy in the directory lib of tomcat the file frdoumesppitc6jna.jar, jna3.4.0.jar and platform3.4.0.jar
With tomcat 7, copy in the directory lib of tomcat the file frdoumesppitc7jna.jar, jna3.4.0.jar and platform3.4.0.jar



With the version with service Windows:
In your application, create a file META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context>
<Valve className="fr.doume.tcp.authenticator.SSPAuthenticator"/>
<Realm className="fr.doume.tcp.realm.WindowsRealm"/>
</Context>
<?xml version="1.0" encoding="UTF-8"?>
If the service Windows is not running on the same server as tomcat, add this line after the definition of the realm
<Parameter override="false" value="x.x.x.x” name="serveraddress"/>
With tomcat 55, copy in the directory server/lib of tomcat, the file frdoumesppitc5tcp.jar
With tomcat6, copy in the directory lib of tomcat the file frdoumesppitc6tcp.jar
With tomcat 7, copy in the directory lib of tomcat the file frdoumesppitc7tcp.jar

To install the service negoserver on windows, copy the directory negoserver, on the Windows server and launch install.bat

With the version with the JVM and the CLR in the same process (cli):
In your application, create a file META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context> <Valve className="fr.doume.cli.authenticator.SSPAuthenticator"/>
<Realm className="fr.doume.cli.realm.WindowsRealm"/>
</Context>
Copy in the directory bin of tomcat the two dll vc90\SSPAuthentification.dll and vc90\SSPAuthentificationx64.dll
With tomcat 55, copy in the directory server/lib of tomcat, the file frdoumesppitc5cli.jar
With tomcat6, copy in the directory lib of tomcat the file frdoumesppitc6cli.jar
With tomcat 7, copy in the directory lib of tomcat the file frdoumesppitc7cli.jar
If .net 4.0 is installed you can copy the DLL net4.0\j2cx86.dll,net4.0\ j2cx64.dll and javacli.dll, in the directory bin of tomcat. Il .net 2.0, 3.0 or 3.5 is installed, can copy the DLL net2.0\j2cx86.dll,net2.0\ j2cx64.dll and javacli.dll, in the same directory.

Last edited Sep 29 at 9:45 AM by doumeguerin, version 4

Comments

No comments yet.