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/07/06 18:48] bkkr72:configure_jaas_jgss [2019/10/17 10:48] twn
Line 5: Line 5:
 === Java Authentication and Authorization Service (JAAS) === === Java Authentication and Authorization Service (JAAS) ===
  
-JAAS is a standard Java API, which has to be configured with your network settings. Please edit the provided example file <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''/tomcat/webapps/pkit/WEB-INF/conf/jaas.conf''</font> and replace the example values according to your network configuration:+JAAS is a standard Java API, which has to be configured with your network settings. Please edit the provided example file <font inherit/Courier New,Courier,monospace;;inherit;;inherit>''conf/jaas.conf''</font> and replace the example values according to your network configuration:
  
 <code> <code>
 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="" +    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 40: Line 40:
 === 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 84: Line 84:
  
   * Open a command prompt and change to the <PKIT_HOME> directory.   * Open a command prompt and change to the <PKIT_HOME> directory.
-  * Type ''bin\testAutoLogin.bat ''  (on Windows) or ''bin/testAutoLogin.sh''  (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.