|
Sun
Java System Identity Server 2004Q2 Sample |
Authentication (JCDI module) Sample
The sample program demonstrate how to use Remote Client API. It will authenticate
user by JCDI auth module sample in |
| BASE | where Identity server is installed |
| JAVA_HOME | where Java compiler is installed |
| ORG_NAME | the domain/org you like to login into |
| URL |
the Identity Server URL |
AMConfig.properties from IS server installation
machine location /etc/opt/SUNWam/config from the server
machine to the client machine am_services.jar, jaas.jar,
jss3.jar, AMConfig.properties in your classpath
on client machine. (Note: Include jaas.jar in your classpath if you are using
JDK version less than JDK1.4) gmake. gmake run. For
SSL mode:
-D "java.protocol.handler.pkgs=com.iplanet.services.comm"
AMConfig.properties
file
com.iplanet.am.admin.cli.certdb.dir=<ISinstall-dir>/SUNWam/servers/aliascom.iplanet.am.admin.cli.certdb.prefix=https-machine1.red.iplanet.com-machine1-com.iplanet.am.server.protocol to httpscom.iplanet.am.server.port to the appropriate port
on the server machinemachine1 is the host name of the server Windows2000:
In make.bat
BASE where Identity server is installed JAVA_HOME where Java compiler is installed ORG_NAME the domain/org you like to login into URL
the Identity Server URL
AMConfig.properties from IS server installation
machine location /etc/opt/SUNWam/config from the server
machine to the client machine am_services.jar, jaas.jar,
jss3.jar, AMConfig.properties in your classpath
on client machine. (Note: Include jaas.jar in your classpath if you are using
JDK version less than JDK1.4) make. make run. For
SSL mode:
-D "java.protocol.handler.pkgs=com.iplanet.services.comm"
AMConfig.properties
file
com.iplanet.am.admin.cli.certdb.dir=<ISinstall-dir>\SUN\IdentityServer6\Servers\aliascom.iplanet.am.admin.cli.certdb.prefix=https-machine1.red.iplanet.com-machine1-com.iplanet.am.server.protocol to httpscom.iplanet.am.server.port to the appropriate port
on the server machineFor the details, please reference the Remote Client API Java Docs.