[jboss-jira] [JBoss JIRA] (WFLY-10710) Wildfly keycloak and application configuration | how to resolve this error

Lilly rose (JIRA) issues at jboss.org
Mon Jul 23 10:59:00 EDT 2018


     [ https://issues.jboss.org/browse/WFLY-10710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lilly rose updated WFLY-10710:
------------------------------
    Attachment: Keycloak -OKTA-Config.docx
                WildflyKeycloakOktaSequence.png


PFA

One doc  is about 

There was an error at the flow while we are trying this flow . PFA It has pictorial representation of the flow .
Wildfly app or servlet container -> (SP) SAML request to IdP -> Keycloak -> (identify Okta IdP... may or may not need a username) -> (SP SAML Request to Okta) -> Okta IdP (May or may not need user to login depends on if they have an active okta session or not) -> IdP SAML Response -> Keycloak -> IdP SAML Response Wildfly app / servlet container

The above flow is not the  exact flow , that's our imaginary flow


Other doc  is about where we are facing issue  (page 23 & 24 )

> Wildfly keycloak and application configuration | how to resolve this error 
> ---------------------------------------------------------------------------
>
>                 Key: WFLY-10710
>                 URL: https://issues.jboss.org/browse/WFLY-10710
>             Project: WildFly
>          Issue Type: Bug
>         Environment: wildfly 11 final ,
>            Reporter: Lilly rose
>            Assignee: Jason Greene
>         Attachments: Keycloak -OKTA-Config.docx, WildflyKeycloakOktaSequence.png
>
>
> ESC[0mESC[31m16:36:59,379 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /sample/: java.lang.NullPointerException
>         at java.lang.String.contains(String.java:2133)
>         at org.keycloak.adapters.saml.elytron.KeycloakHttpServerAuthenticationMechanism.evaluateRequest(KeycloakHttpServerAuthenticationMechanism.java:82)
>         at org.wildfly.security.http.util.SetMechanismInformationMechanismFactory$1.evaluateRequest(SetMechanismInformationMechanismFactory.java:114)
>         at org.wildfly.security.http.util.SecurityIdentityServerMechanismFactory$1.evaluateRequest(SecurityIdentityServerMechanismFactory.java:77)
>         at org.wildfly.security.http.HttpAuthenticator$AuthenticationExchange.authenticate(HttpAuthenticator.java:115)
>         at org.wildfly.security.http.HttpAuthenticator$AuthenticationExchange.access$100(HttpAuthenticator.java:94)
>         at org.wildfly.security.http.HttpAuthenticator.authenticate(HttpAuthenticator.java:78)
>         at org.wildfly.elytron.web.undertow.server.SecurityContextImpl.authenticate(SecurityContextImpl.java:100)
>         at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55)
>         at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>         at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
>         at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
>         at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
>         at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>         at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
>         at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>         at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
>         at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>         at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
>         at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
>         at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
>         at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
>         at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
>         at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list