<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Configuring Kerberos Authentication on J2EE Engine errors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/configuring-kerberos-authentication-on-j2ee-engine-errors/m-p/1796595#M342283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find our policy configurations used for the &lt;/P&gt;&lt;P&gt;SPNego/Kerberos authentication from the diagtool log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[com.sun.security.jgss.accept] (size: 2)&lt;/P&gt;&lt;P&gt;          1. (REQUISITE) com.sun.security.auth.module.Krb5LoginModule&lt;/P&gt;&lt;P&gt;                    #1 useKeyTab=true&lt;/P&gt;&lt;P&gt;                    #2 keyTab=C:\SSO-files\portal-sso.keytab&lt;/P&gt;&lt;P&gt;                    #3 useTicketCache=true&lt;/P&gt;&lt;P&gt;                    #4 storeKey=true&lt;/P&gt;&lt;P&gt;                    #5 principal=host/hostname_of_J2EE.abc2.com@ABC2.COM&lt;/P&gt;&lt;P&gt;                    #6 Debug=true (Unknown option)&lt;/P&gt;&lt;P&gt;                    #7 doNotPrompt=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          2.  ( OPTIONAL ) com.sap.security.core.server.jaas.SPNegoMappingLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.uid.resolution.attr = krb5principalname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Info] Dec 27, 2006 3:43:55 PM    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{[ticket]}(size: 5)&lt;/P&gt;&lt;P&gt;          1.  ( SUFFICIENT ) com.sap.security.core.server.jaas.EvaluateTicketLoginModule&lt;/P&gt;&lt;P&gt;                    #1 ume.configuration.active = true&lt;/P&gt;&lt;P&gt;          2.  ( OPTIONAL ) com.sap.security.core.server.jaas.SPNegoLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.creds_in_thread = true&lt;/P&gt;&lt;P&gt;                    #2 com.sap.spnego.uid.resolution.attr = Kpnprefix&lt;/P&gt;&lt;P&gt;                    #3 com.sap.spnego.jgss.name = host/hostname_of_J2EE.abc2.com@ABC2.COM&lt;/P&gt;&lt;P&gt;                    #4 com.sap.spnego.uid.resolution.mode = Prefixbased&lt;/P&gt;&lt;P&gt;                    #5 com.sap.spnego.uid.resolution.dn = dn&lt;/P&gt;&lt;P&gt;          3.  ( SUFFICIENT ) com.sap.security.core.server.jaas.CreateTicketLoginModule&lt;/P&gt;&lt;P&gt;                    #1 Ume.configuration.active = true&lt;/P&gt;&lt;P&gt;          4.  ( REQUISITE ) com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule&lt;/P&gt;&lt;P&gt;          5.  ( OPTIONAL ) com.sap.security.core.server.jaas.CreateTicketLoginModule&lt;/P&gt;&lt;P&gt;                    #1 ume.configuration.active = true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also find  LoginModuleTest  from diagtool log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          (Krb5LoginModule) com.sun.security.auth.module.Krb5LoginModule&lt;/P&gt;&lt;P&gt;                    #1 debug=true&lt;/P&gt;&lt;P&gt;                    #2 useKeyTab=true&lt;/P&gt;&lt;P&gt;                    #3 keyTab=c:\SSO-files\portal-sso.keytab&lt;/P&gt;&lt;P&gt;                    #4 useTicketCache=true&lt;/P&gt;&lt;P&gt;                    #5 storeKey=true&lt;/P&gt;&lt;P&gt;                    #6 principal=host/hostname_of_J2EE.abc2.com@ABC2.COM&lt;/P&gt;&lt;P&gt;                    #7 doNotPrompt=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          (SPNegoMappingLoginModule) com.sap.security.core.server.jaas.SPNegoMappingLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.uid.resolution.attr = krb5principalname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          (MappingModule) com.sap.security.core.server.jaas.SPNegoMappingLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.uid.resolution.attr = krb5principalname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          (SPNegoLoginModule) com.sap.security.core.server.jaas.SPNegoLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.creds_in_thread = true&lt;/P&gt;&lt;P&gt;                    #2 com.sap.spnego.uid.resolution.attr = kpnprefix&lt;/P&gt;&lt;P&gt;                    #3 com.sap.spnego.jgss.name = portal-sso@ABC2.COM&lt;/P&gt;&lt;P&gt;                    #4 com.sap.spnego.uid.resolution.mode = prefixbased&lt;/P&gt;&lt;P&gt;                    #5 com.sap.spnego.uid.resolution.dn = dn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Dec 2006 20:11:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-28T20:11:26Z</dc:date>
    <item>
      <title>Configuring Kerberos Authentication on J2EE Engine errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/configuring-kerberos-authentication-on-j2ee-engine-errors/m-p/1796594#M342282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have configured Kerberos authentication on our J2EE Engine (NW04s SP8), Active Directory (Windows 2003). We are running the diagtool and SPNegoLoginModule Test Configuration Web Application to test our configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we run the diagtool, we get an 'ERROR: HTTP request was not successful. Returned code is 200'. We found the following errors when looking at the default trace:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- USER_AUTH_FAILED: User account for loginid "zuser@ABC2.COM" not found.&lt;/P&gt;&lt;P&gt;- Can not refresh user zuser@ABC.COM&lt;/P&gt;&lt;P&gt;- Replay cache for zuser@ABC2.COM is null&lt;/P&gt;&lt;P&gt;- Error in some of the login modules&lt;/P&gt;&lt;P&gt;- Login Module &lt;SPAN __jive_macro_name="0"&gt;&lt;/SPAN&gt; from authentication stack &lt;SPAN __jive_macro_name="1"&gt;&lt;/SPAN&gt; errors while authenticating the caller. Most probably the authentication stack is not set up correctly.&lt;/P&gt;&lt;P&gt;- Credentials of zuser@ABC.COM cannot be delegated.&lt;/P&gt;&lt;P&gt;- SPNego authentication succeeds. Authenticated user name is zuser@ABC2.COM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we run the SPNegoLoginModule Test Configuration Web Application, we get 'Cannot acquire credentials' on the third screen i.e. the application is able to find the user and krb5 file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions of why this is not working? Everything is looking good on the active directory side. We have re-looked at the login modules and there seems to be not problem there as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 16:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/configuring-kerberos-authentication-on-j2ee-engine-errors/m-p/1796594#M342282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T16:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Kerberos Authentication on J2EE Engine errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/configuring-kerberos-authentication-on-j2ee-engine-errors/m-p/1796595#M342283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find our policy configurations used for the &lt;/P&gt;&lt;P&gt;SPNego/Kerberos authentication from the diagtool log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[com.sun.security.jgss.accept] (size: 2)&lt;/P&gt;&lt;P&gt;          1. (REQUISITE) com.sun.security.auth.module.Krb5LoginModule&lt;/P&gt;&lt;P&gt;                    #1 useKeyTab=true&lt;/P&gt;&lt;P&gt;                    #2 keyTab=C:\SSO-files\portal-sso.keytab&lt;/P&gt;&lt;P&gt;                    #3 useTicketCache=true&lt;/P&gt;&lt;P&gt;                    #4 storeKey=true&lt;/P&gt;&lt;P&gt;                    #5 principal=host/hostname_of_J2EE.abc2.com@ABC2.COM&lt;/P&gt;&lt;P&gt;                    #6 Debug=true (Unknown option)&lt;/P&gt;&lt;P&gt;                    #7 doNotPrompt=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          2.  ( OPTIONAL ) com.sap.security.core.server.jaas.SPNegoMappingLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.uid.resolution.attr = krb5principalname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Info] Dec 27, 2006 3:43:55 PM    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{[ticket]}(size: 5)&lt;/P&gt;&lt;P&gt;          1.  ( SUFFICIENT ) com.sap.security.core.server.jaas.EvaluateTicketLoginModule&lt;/P&gt;&lt;P&gt;                    #1 ume.configuration.active = true&lt;/P&gt;&lt;P&gt;          2.  ( OPTIONAL ) com.sap.security.core.server.jaas.SPNegoLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.creds_in_thread = true&lt;/P&gt;&lt;P&gt;                    #2 com.sap.spnego.uid.resolution.attr = Kpnprefix&lt;/P&gt;&lt;P&gt;                    #3 com.sap.spnego.jgss.name = host/hostname_of_J2EE.abc2.com@ABC2.COM&lt;/P&gt;&lt;P&gt;                    #4 com.sap.spnego.uid.resolution.mode = Prefixbased&lt;/P&gt;&lt;P&gt;                    #5 com.sap.spnego.uid.resolution.dn = dn&lt;/P&gt;&lt;P&gt;          3.  ( SUFFICIENT ) com.sap.security.core.server.jaas.CreateTicketLoginModule&lt;/P&gt;&lt;P&gt;                    #1 Ume.configuration.active = true&lt;/P&gt;&lt;P&gt;          4.  ( REQUISITE ) com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule&lt;/P&gt;&lt;P&gt;          5.  ( OPTIONAL ) com.sap.security.core.server.jaas.CreateTicketLoginModule&lt;/P&gt;&lt;P&gt;                    #1 ume.configuration.active = true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also find  LoginModuleTest  from diagtool log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          (Krb5LoginModule) com.sun.security.auth.module.Krb5LoginModule&lt;/P&gt;&lt;P&gt;                    #1 debug=true&lt;/P&gt;&lt;P&gt;                    #2 useKeyTab=true&lt;/P&gt;&lt;P&gt;                    #3 keyTab=c:\SSO-files\portal-sso.keytab&lt;/P&gt;&lt;P&gt;                    #4 useTicketCache=true&lt;/P&gt;&lt;P&gt;                    #5 storeKey=true&lt;/P&gt;&lt;P&gt;                    #6 principal=host/hostname_of_J2EE.abc2.com@ABC2.COM&lt;/P&gt;&lt;P&gt;                    #7 doNotPrompt=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          (SPNegoMappingLoginModule) com.sap.security.core.server.jaas.SPNegoMappingLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.uid.resolution.attr = krb5principalname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          (MappingModule) com.sap.security.core.server.jaas.SPNegoMappingLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.uid.resolution.attr = krb5principalname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          (SPNegoLoginModule) com.sap.security.core.server.jaas.SPNegoLoginModule&lt;/P&gt;&lt;P&gt;                    #1 com.sap.spnego.creds_in_thread = true&lt;/P&gt;&lt;P&gt;                    #2 com.sap.spnego.uid.resolution.attr = kpnprefix&lt;/P&gt;&lt;P&gt;                    #3 com.sap.spnego.jgss.name = portal-sso@ABC2.COM&lt;/P&gt;&lt;P&gt;                    #4 com.sap.spnego.uid.resolution.mode = prefixbased&lt;/P&gt;&lt;P&gt;                    #5 com.sap.spnego.uid.resolution.dn = dn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 20:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/configuring-kerberos-authentication-on-j2ee-engine-errors/m-p/1796595#M342283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T20:11:26Z</dc:date>
    </item>
  </channel>
</rss>

