Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE User's Guide Page 293

  • Download
  • Add to my manuals
  • Print
  • Page
    / 332
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 292
Developing Java Applications
7-53
JDK1.4
Trust store file name: "C:\Interstage\etc\security\env\keystore\.keystore"
C:\>cd C:\Interstage\F3FMsso\ssoatzag\sample\javaapi
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi>set CLASSPATH=
C:\Interstage\F3FMsso\ssoatzag\lib\isssomod14.jar;
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi\isssojaas.jar;
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi\isssoaction.jar
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi>java
-Djava.security.auth.login.config=C:\Interstage\F3FMsso\ssoatzag\sample\
javaapi\isssojaaslogin.conf
-Djava.security.manager
-Djava.security.policy=C:\Interstage\F3FMsso\ssoatzag\sample\javaapi\
isssojaas14.policy
-Djavax.net.ssl.trustStore=C:\Interstage\etc\security\env\keystore\.keystore
sample.ISSsoJaas
Trust store file name: "/etc/opt/FJSVisscs/security/env/keystore/.keystore"
# sh
# CLASSPATH=
/opt/FJSVssoaz/lib/isssomod14.jar:isssojaas.jar:isssoaction.jar
# export CLASSPATH
# java -Djava.security.auth.login.config=isssojaaslogin.conf \
-Djava.security.manager \
-Djava.security.policy=isssojaas14.policy \
-
Djavax.net.ssl.trustStore=/etc/opt/FJSVisscs/security/env/keystore/.keystore
sample.ISSsoJaas
(9) Execution Result
Enter the user ID registered in the authentication server when the “UserName=” prompt is displayed.
Enter the user password when the "Password=” prompt is displayed. When authentication is
successfully executed, user authentication information is displayed. As shown in the examples below,
the information displayed depends on the authentication server, repository server setting, and user
execution environment.
Example
When user “user001” belongs to role “Admin”
UserName=user001
Password=user001
*** Credential Information ***
AuthorizationCredential=AZEer+r5szu3Ha8Vw1kSGNMw13D1K92da9WvEtqo5Kf5niUzaAX/
Page view 292
1 2 ... 288 289 290 291 292 293 294 295 296 297 298 ... 331 332

Comments to this Manuals

No comments