I have resolved my problem. The problem was here:
<http pattern="/pages/accessDenied.xhtml" security="none" />
<http pattern="/login.xhtml" security="none"/>
<http pattern="/l/"...
Type: Posts; User: Cesar M. Casasola; Keyword(s):
I have resolved my problem. The problem was here:
<http pattern="/pages/accessDenied.xhtml" security="none" />
<http pattern="/login.xhtml" security="none"/>
<http pattern="/l/"...
This is my XMl file of configuration
<?xml version="1.0" encoding="ISO-8859-1"?>
<beans:beans
xmlns="http://www.springframework.org/schema/security"
...
This must log:
DEBUG org.springframework.security.authentication.ProviderManager - Authentication attempt using org.springframework.security.authentication.dao.DaoAuthenticationProvider
The...
I've debugged the class LoginBusinessImpl and I've arrived until class ProviderManager. The debug fails in this point:
if (result == null && parent != null) {
// Allow the parent...
Well., Explain more detailed my code. My webapp is implemented with JSF - (Spring - Spring Security) - Mybatis
First, There is a JSF class Login Controller with login method. This method is called...
Apparently I don't explain me fine. This error comes when you try to authenticate
Trying to follow the example. My XML file configuration have changed: I've removed custom configuration filter and I've left as before
<http auto-config="false"
...
I jus read the post but I don't understand where in the xml file of configuration I must invoke to BeanPostProcessor :(
PD: I have implemented my custom FilterInvocationSecurityMetadataSource :D
I only wanted to use FilterSecurityInterceptor for load Interceptors dynamically from DB. I have guided from here
I have ordered my customFilterChain.
<beans:bean id="customFilterChain" class="org.springframework.security.web.FilterChainProxy">
<beans:constructor-arg>
<beans:list>
...
Is neccesary implement all filters?
This error trigger in the class AbstractSecurityInterceptor in the following lines:
if (SecurityContextHolder.getContext().getAuthentication() == null) {
...
This is my file configuration
<?xml version="1.0" encoding="ISO-8859-1"?>
<beans:beans
xmlns="http://www.springframework.org/schema/security"
...
I've been configured a handler for logout
<logout delete-cookies="true" invalidate-session="true"
success-handler-ref="customLogoutSuccessHandler"/>
In method...
Thanks for the advice
I forgot to mention that services are consumed by a mobile client. According to the value returned by the login service the mobile application redirected to homepage or to...
I'm trying to create a method authentication with RESTEasy.
My URLs REST are mapped with con Spring Security
I want to know how Spring Security can to recognize to authenticated...