1,264 questions
0
votes
0
answers
90
views
Shiro environment initialization failed: org.apache.shiro.config.ConfigurationException
We are running an existing application using wildfly-10.0.0.Final with Shiro 1.2.2
We have upgraded our application from using mysql 5.6 to 8.0.40 and we are now using the latest mysql drivers. The ...
0
votes
1
answer
212
views
Pac4j-core: DefaultAjaxRequestResolver.buildAjaxResponse return as null during Keycloak and Shiro integration in Apache Zeppelin
I am integrating Apache Zeppelin version 0.11.1 with Keycloak for authentication and authorization. To support this integration, I am using additional libraries (pac4j and buji pac4j) because Zeppelin ...
1
vote
1
answer
112
views
Correct the classpath of your application so that it contains compatible versions of the classesShiroWebFilterConfiguration and FilterRegistrationBean
I'm having trouble running my Springboot Maven application. The problem started with a missing dependency which let to another issue i cant get fixed, i have tried multiple suggestions from throughout ...
0
votes
1
answer
252
views
Apache Shiro integration in JSF 3.0+
I created a new Maven project that run with Tomcat 10.1.20 and JDK 21.
Now I want to integrate Apache Shiro, but my application doesn't start and gives the error:
SEVERE [http-nio-8080-exec-9] org....
0
votes
1
answer
154
views
shiro uses a custom filter to report an error "No SecurityManager accessible to the calling code"
Originally, my filterChainDefinitionMap was filterChainDefinitionMap.put("/login/**","anon"); it responded normally when calling the interface, but now I have a need. All "/...
0
votes
1
answer
871
views
Grails 6.1.2 gives "Unmatched argument at index 0" when trying to run commands
In Grails 6.1.2, Creating a new application with the Grails Shiro plugin. The command grails shiro-quick-start through the Grails CLI results in the following error:
[Unmatched argument at index 0: '...
1
vote
0
answers
159
views
Integration of Apache Shiro into Quarkus framework
Has anyone tried to integrate Apache Shiro within the Quarkus framework ? What were the joint points ?
Tried using the Jakarta EE integration but failed with it
Tried also using the Spring DI ...
0
votes
1
answer
95
views
KeycloakOidcConfiguration load during application start and load values from database
I would like to load my Keycloak Settings dynamically from my database.
I would like to do this:
Start my application
Load from my database required information for the KeycloakOidcConfiguration ...
0
votes
0
answers
135
views
Ajax Request are not working with Pac4j / Shiro?
After switch from FormAuthentication via Shiro, I switched to Pac4, Shiro with Keycloak.
I recognized in my JSF pages the Ajax requests are not working anymore, like:
<h:form>
<p:...
0
votes
1
answer
313
views
Get UserProfile / Information after successful authentication
I will do another try, maybe I get an answer from someone who has knowledge in Pac4j.
I have a simple question for Pac4j.
I'm using Keycloak as Auth Provider.
After successful login I would like to ...
1
vote
0
answers
98
views
Spintboot Shiro 1.12.0 happens Shiro RememberMe Deserialization Vulnerability (CVE-2016-4437)
Company firewall system prompts Shiro RememberMe Deserialization Vulnerability (CVE-2016-4437)
I have upgraded shiro to 1.12.0, using random keys, and close the rememberMe function but errors still
...
0
votes
1
answer
615
views
Keycloak, Apache Shiro and Pac4j installation / configuration
I´m trying to implement for my JSF webapplication the Auth with Keycloak.
I spent already many hours, but it´s still not working.
After I login in the login screen from Keycloak, my login in Keycloak ...
0
votes
1
answer
298
views
Apache Shiro cannot find ehcache default config with Java 11
I have a web application that uses Apache Shiro. I'm upgrading from Java 8 to 11. That is the only change, but when I try to launch my server, it looks like shiro can't find the default ehcache.xml ...
0
votes
1
answer
31
views
How can I get a Permission List from Subject
I would like to get a List from all permissions from a Subject.
In my use case I would like to store all Permissions in a list to cache it.
I have a web application with a Menu on my left side.
For ...
1
vote
2
answers
5k
views
Apache Shiro encountering java.lang.NoClassDefFoundError: javax/servlet/Filter with SpringBoot 3.0
I am currently using Java 17 with SpringBoot 3.0 and Apache Shiro ver 1.10.0. I was trying to use ShiroConfig to add some basic filters for api access(both /update and /add).
I keep encountering the ...
0
votes
1
answer
33
views
shiro filters with duplicate patterns which one used
what happens when you DUPLICATE shiro filters with the same exact pattern? I know the "first match wins" policy applies to two similar patterns,
addFilterChain("/secure/**", ROLE_1)...
-1
votes
2
answers
160
views
Achieve Dynamic REST Resource specific Authorization
We have a SpringBoot based module, we have REST APIs which allow creating resources with Params like
Request
POST /resources
{
"resourceName": "Res1",
"admins": [&...
0
votes
1
answer
205
views
custom shiro filter for rest api
I have a old rest filter. Can the following be ported to shiro.ini? Or, is it possible to initialize/configure a filter in shiro.ini and extend it in java with doFilter()? It looks like there are some ...
0
votes
1
answer
504
views
Is it possible to Unit-Test a OpenID-Connect Token Validation?
I want to build some unit-tests for my JWT Validation Scripts. I'm extending Shiro with some custom Token-Validation scripts for openid-connect usage.
The problem is, that the method i tryed to test ...
0
votes
1
answer
117
views
Grails error-messages if I run the web app with tomcat 9
I'm updating a fairly large web app from Grails 2 to Grails 5. We are using the Shiro plugin (and others) and Java 11.
If I run the packaged war file under a tomcat-9 installation (currently with ...
0
votes
0
answers
285
views
How to authenticate the sparql connectivity to fuseki
I am using fuseki 2.4 and have set a basic authentication in shiro.ini, sharing the contents of the current shiro.ini file below. Once after setting the credentials and restart fuseki service, when I ...
1
vote
0
answers
54
views
Apache Shiro INI entries from database
I am working on a project that uses Shiro INI for configurations, some of the configuration entries seem repetitive and would be better stored in a database instead. Is it possible to define the ...
2
votes
0
answers
501
views
How do I resolve RESTEASY002186 so my Wildfly 26 web application can use SSE over https?
I have a web application running on Wildfly 26 that uses SSE broadcasting and works correctly with http. However, when I switch to using an https endpoint, I get Wildfly log entries of:
WARN [org....
0
votes
1
answer
63
views
Shiro cache size
How to estimate size for Apache Shiro permissions cache?
For example, permissions strings are implemented in format:
<domain>:<resource_group>:<resource_name>:<permission>
for ...
0
votes
2
answers
976
views
When Shiro integrates JWT, what Shiro filter should be extend?
When I want to integrate JWT with Shiro, I need to write a filter extend Shiro's filter class
For example
AuthenticatingFilter
BasicHttpAuthenticationFilter
AccessControlFilter
I don't know which ...