Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6480

Unable to configure Krb5LoginModule options in elytron kerberos implementation

    XMLWordPrintable

Details

    Description

      Not all Krb5LoginModule options are configurable. There are just some of them exposed (debug, keytab, acceptor/initiator). These options were exposed in EAP 6 and EAP 7. Customers which had need to use them can have problem to migrate to EAP 7.1.

      Legacy KerberosLoginModule exposed these options https://access.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/login-module-reference/#kerberos_login_module

                  if (debug) {
                      options.put("debug", "true");
                  }
                  options.put("principal", principal);
      
                  final AppConfigurationEntry ace;
                  if (IS_IBM) {
                      options.put("noAddress", "true");
                      options.put("credsType", isServer ? "acceptor" : "initiator");
                      options.put("useKeytab", keyTab.toURI().toURL().toString());
                      ace = new AppConfigurationEntry(IBMKRB5LoginModule, REQUIRED, options);
                  } else {
                      options.put("storeKey", "true");
                      options.put("useKeyTab", "true");
                      options.put("keyTab", keyTab.getAbsolutePath());
                      options.put("isInitiator", isServer ? "false" : "true");
      
                      ace = new AppConfigurationEntry(KRB5LoginModule, REQUIRED, options);
                  }
      

      Attachments

        Issue Links

          Activity

            People

              jkalina@redhat.com Jan Kalina (Inactive)
              mchoma@redhat.com Martin Choma
              Martin Choma Martin Choma
              Martin Choma Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: