Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
72:configure_jaas_jgss [2018/10/03 02:47] emr72:configure_jaas_jgss [2019/11/15 13:05] – [Configure JAAS and JGSS Support on the Stages Server] etea
Line 10: Line 10:
 de.methodpark.pkit.auth.SpnegoAuthenticator { de.methodpark.pkit.auth.SpnegoAuthenticator {
   com.sun.security.auth.module.Krb5LoginModule required   com.sun.security.auth.module.Krb5LoginModule required
-    useKeyTab="true"+    useKeyTab=true
     keyTab="//**PATH_TO_KEYTAB_FILE**// "     keyTab="//**PATH_TO_KEYTAB_FILE**// "
-    storeKey="true"+    storeKey=true
     realm="<KERBEROS-REALM>"     realm="<KERBEROS-REALM>"
     debug="false"     debug="false"
-    principal="HTTP/<fqnd>@<KERBEROS-REALM>" +    principal="HTTP/<fqnd>@<KERBEROS-REALM>"; 
-}+};
 </code> </code>
  
Line 34: Line 34:
  realm="PKITBUILD.ER.METHODPARK.DE"  realm="PKITBUILD.ER.METHODPARK.DE"
  debug="false"  debug="false"
- principal="HTTP/pkit.methodpark.de@PKITBUILD.ER.METHODPARK.DE" + principal="HTTP/pkit.methodpark.de@PKITBUILD.ER.METHODPARK.DE"; 
-}+};
 </code> </code>
  
 === Java Generic Security Services (JGSS) === === Java Generic Security Services (JGSS) ===
  
-JGSS is another Java Standard API, which has to be configured with your network information. Please edit the provided example file <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''/tomcat/webapps/pkit/WEB-INF/conf/krb5.conf''</font> and replace the example values according to your network configuration:+JGSS is another Java Standard API, which has to be configured with your network information. Please edit the provided example file <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''/conf/krb5.conf''</font> and replace the example values according to your network configuration:
  
 <code> <code>
Line 83: Line 83:
 To test your JAAS and JGSS configuration in a Stages server environment proceed in the way described below: To test your JAAS and JGSS configuration in a Stages server environment proceed in the way described below:
  
-  * Open a command prompt and change to the <PKIT_HOME> directory.+  * Open a command prompt and change to the <stages> directory.
   * Type ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>bin\testAutoLogin.bat</font>''  (on Windows) or <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''bin/testAutoLogin.sh''</font> (on Unix) and hit enter.   * Type ''<font inherit/Courier New,Courier,monospace;;inherit;;inherit>bin\testAutoLogin.bat</font>''  (on Windows) or <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''bin/testAutoLogin.sh''</font> (on Unix) and hit enter.
   * Watch the command prompt for output messages.   * Watch the command prompt for output messages.