KNOX-722 - Null Pointer Exception while Knox SSO configured for OKTA/SAML v2


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/980d3702
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/980d3702
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/980d3702

Branch: refs/heads/v0.9.0
Commit: 980d37026d8a12ad7c3f8cbc8aec702a347ac867
Parents: 58da90d
Author: Larry McCay <lmc...@hortonworks.com>
Authored: Thu Jul 14 17:11:05 2016 -0400
Committer: Larry McCay <lmc...@hortonworks.com>
Committed: Thu Jul 14 17:13:07 2016 -0400

----------------------------------------------------------------------
 gateway-provider-security-pac4j/pom.xml | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/980d3702/gateway-provider-security-pac4j/pom.xml
----------------------------------------------------------------------
diff --git a/gateway-provider-security-pac4j/pom.xml 
b/gateway-provider-security-pac4j/pom.xml
index 89a0ab4..5ff4e41 100644
--- a/gateway-provider-security-pac4j/pom.xml
+++ b/gateway-provider-security-pac4j/pom.xml
@@ -36,8 +36,8 @@
     </licenses>
 
     <properties>
-        <j2e-pac4j.version>1.2.1</j2e-pac4j.version>
-        <pac4j.version>1.8.5</pac4j.version>
+        <j2e-pac4j.version>1.2.2</j2e-pac4j.version>
+        <pac4j.version>1.8.9</pac4j.version>
     </properties>
 
     <dependencies>
@@ -51,6 +51,12 @@
             <groupId>org.pac4j</groupId>
             <artifactId>j2e-pac4j</artifactId>
             <version>${j2e-pac4j.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.pac4j</groupId>
+                    <artifactId>pac4j-core</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>
@@ -61,6 +67,12 @@
 
         <dependency>
             <groupId>org.pac4j</groupId>
+            <artifactId>pac4j-core</artifactId>
+            <version>${pac4j.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.pac4j</groupId>
             <artifactId>pac4j-config</artifactId>
             <version>${pac4j.version}</version>
             <exclusions>

Reply via email to