-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
7.10.1.GA
-
None
-
- RHPAM 7.10.1
- Openshift 4
- Operators
-
False
-
False
-
-
-
-
-
-
Undefined
-
-
-
-
2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15), 2021 Week 49-51 (from Dec 6th)
Defining an operator with:
KieApp.yaml
spec: auth: ldap: ... roleMapper: from: kind: ConfigMap name: ldap-role-mapping-dev-v1 replaceRole: false rolesProperties: /config/role-mapping.properties objects: console: env: - name: AUTH_ROLE_MAPPER_ROLES_PROPERTIES value: /config/role-mapping.properties
raises an error starting app:
[core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] 07:01:29,396 DEBUG [org.jboss.security] (default task-7) PBOX00287: Failed to open properties file from URL: java.net.MalformedURLException : no protocol: /config/role-mapping.properties [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/java.net.URL.<init>(URL.java:645) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/java.net.URL.<init>(URL.java:541) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/java.net.URL.<init>(URL.java:488) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at org.picketbox//org.jboss.security.auth.spi.Util.loadProperties(Util.java:286) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at org.picketbox//org.jboss.security.auth.spi.RoleMappingLoginModule.getRoleSets(RoleMappingLoginModule.java:127) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at org.picketbox//org.jboss.security.auth.spi.AbstractServerLoginModule.commit(AbstractServerLoginModule.java:233) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:729) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:663) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/java.security.AccessController.doPrivileged(Native Method) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:663) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at java.base/javax.security.auth.login.LoginContext.login(LoginContext.java:575) [core-systems-pam-kieserver-dev-rhpamcentr-28-qctjs] at org.picketbox//org.jboss.security.authentication.JBossCachedAuthenticationManager.defaultLogin(JBossCachedAuthenticationManager.java: 406)