Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in setting up shiro authentication using KnoxJwtRealm #2

Open
AayushBangroo opened this issue Nov 26, 2023 · 1 comment
Open

Comments

@AayushBangroo
Copy link

I am trying to setup shiro authentication using KnoxJwtRealm and OpenID Connect. I was able to setup Apache Knox SSO and Okta OIDC flow, however Apache Zeppelin fails when KnoxJwtRealm is enabled.

Error Logs:
ERROR [2023-11-26 14:59:20,893] ({main} EnvironmentLoader.java[initEnvironment]:156) - Shiro environment initialization failed java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration

@AayushBangroo
Copy link
Author

AayushBangroo commented Nov 26, 2023

It seems KnoxJwtRealm relies on Hadoop Configuration class. I checked the jars available in the ilum-zeppelin pod it seems hadoop jars are missing. Is this something that needs to be added?
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/realm/jwt/KnoxJwtRealm.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant