I am getting error org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'IS_AUTHENTICATED_ANONYMOUSLY' is defined

Ads
 

I am getting error org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'IS_AUTHENTICATED_ANONYMOUSLY' is defined

Hello, I am getting error org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'IS_AUTHENTICATED_ANONYMOUSLY' is defined

View Answers

March 28, 2008 at 9:26 PM

Hi,

Got the solution after lot of research.

I wrongly added the following code

/secured/**=ROLE_DEVELOPER

to the Bean:

<bean id="filterChainProxy" class="org.acegisecurity.util.FilterChainProxy">
<property name="filterInvocationDefinitionSource">

in applicationContext-acegi-security.xml file.

I moved the code
/secured/**=ROLE_DEVELOPER

to the following section:

<property name="objectDefinitionSource">
<value><![CDATA[
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/secured/**=ROLE_DEVELOPER
]]></value>
</property>

and it worked.

Cheers

Ads









Related Tutorials/Questions & Answers:
i am getting an error in adding a menu item to a menu.
i am getting an error in adding a menu item to a menu.   i am not able to execute the menu program. i am getting an error at menu.add(menuitem); it says add method is undefined for type menu. but as far as i know that is only way
:( I am not getting Problem (RMI)
I am not getting Problem (RMI)  When i am excuting RMI EXAMPLE 3,2 I am getting error daying nested exception and Connect Exception  
Advertisements
i am getting multiple values in listbox
i am getting multiple values in listbox   hi sir, i am using... table group by stuname) order by a.name in a subquery multiple recdates i am getting its working fine, but in main query also i am getting multiple name
I am getting error.How can i get details
I am getting error.How can i get details  Exception in thread "main" java.sql.SQLException: Listener refused the connecti n with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect
i am unable to identify the error in my code
i am unable to identify the error in my code  class Program { public static void main(String[] args) { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter
i am unable to identify the error in my code
i am unable to identify the error in my code  class Program { public static void main(String[] args) { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter
ModuleNotFoundError: No module named 'will-i-am'
python library, ModuleNotFoundError: No module named 'will-i-am' error...ModuleNotFoundError: No module named 'will-i-am'  Hi, My Python... 'will-i-am' How to remove the ModuleNotFoundError: No module named 'will-i
using spring rmi+maven but i am getting this exception
using spring rmi+maven but i am getting this exception  D:\Nexustool... is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception... by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
: No bean named 'transactionManager' is defined  Hi, In my web application following error is coming: exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
can i know the error in this code... am unable to run this code
can i know the error in this code... am unable to run this code  ...}; int n=arr.lenght; System.out.println("length of array:"+n); for(int i=0;i System.out.println(arr[i]); } }   You have used incorrect symbol in your
ModuleNotFoundError: No module named 'i-am-malicious'
ModuleNotFoundError: No module named 'i-am-malicious'  Hi, My... named 'i-am-malicious' How to remove the ModuleNotFoundError: No module named 'i-am-malicious' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'i-am-malicious'
ModuleNotFoundError: No module named 'i-am-malicious'  Hi, My... named 'i-am-malicious' How to remove the ModuleNotFoundError: No module named 'i-am-malicious' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'i-am-utils'
ModuleNotFoundError: No module named 'i-am-utils'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'i-am-utils' How to remove the ModuleNotFoundError: No module named 'i-am
ModuleNotFoundError: No module named 'Sam_I_Am'
library, ModuleNotFoundError: No module named 'Sam_I_Am' error...ModuleNotFoundError: No module named 'Sam_I_Am'  Hi, My Python..._I_Am' How to remove the ModuleNotFoundError: No module named 'Sam_I_Am
ModuleNotFoundError: No module named 'Sam_I_Am'
library, ModuleNotFoundError: No module named 'Sam_I_Am' error...ModuleNotFoundError: No module named 'Sam_I_Am'  Hi, My Python..._I_Am' How to remove the ModuleNotFoundError: No module named 'Sam_I_Am
Getting an error :(
Getting an error :(  I implemented the same code as above.. But getting this error in console... Console Oct 5, 2012 10:18:14 AM...:SpringMVC' did not find a matching property. Oct 5, 2012 10:18:14 AM
autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me
autocomplete(): Spring mvc with jquery: I am not getting correct value... related birds whenever we give input in the text field. But i am getting the wrong... bird names , but whenever i selected any bird in the text filed the am getting
Error in simple session bean ..................
Error in simple session bean ..................  Hi friends, i am...) { e.printStackTrace(); <br /> System.exit(2); } } } i am getting these errors while i am runnign above client
Option onclick am not getting the value ..
Option onclick am not getting the value ..    function get_val( tot_val ) { document.getElementById('TextBox1').value = tot_val; } <tr> <td><textarea id="TextBox1" name=textarea1 readonly="readonly
this is my file upload page, here i am not getting tags input field value to my servlet,please suggest a solution?
this is my file upload page, here i am not getting tags input field value to my servlet,please suggest a solution?  <html> <head> <script type="text/javascript"> var counter =1; function
Stateless Bean Error
Stateless Bean Error  Ejb stateless bean giving following error,please help me. 11:49:54,894 INFO [STDOUT] Error:$Proxy72 cannot be cast... are providing you a link that will illustrate you more clearly about Stateless Bean
getting an error when set classpath
getting an error when set classpath  Hello Everyone! i have used hssf model for reading excel sheet in my project & i have set classpath for that jar file but when i compile the program it will compile correctly but when i
getting error in your login form code
getting error in your login form code  i tried your code for login form but i am getting an error.the error is undefined index userid and password.the code is $fuser=$POST["userid"];. how to solve this problem please help me
data type used to store name.(getting an error)
data type used to store name.(getting an error)    Statement stm...); if(rs.next()) { ------- this is the code i have and i am getting an error like dis: "ename cannot be resolved to a variable" whats
Stateless Session Bean Example Error
Stateless Session Bean Example Error  Dear sir, I'm getting following error while running StatelessSessionBean example on Jboss. Please help me...   Yes sir, I'm working on this example and getting error that I've
Page is not getting loaded when I refresh the webpage???
Page is not getting loaded when I refresh the webpage???  **I am... function in JSP. It will get all details of image section from database. *I am... when I refresh the page.* Note: Header section is getting loaded always Could
getting classnotfound exception while running login application
getting classnotfound exception while running login application  hi, I am getting Error creating bean with name 'urlMapping' defined... [com.mazeed.LoginFormController] for bean with name 'loginController' defined
No module named 'absl' error when I import tensorflow
No module named 'absl' error when I import tensorflow  Hi, In one... the errror: No module named 'absl' error when I import tensorflow Earlier... to resolve the error: No module named 'absl' error when I import tensorflow
No module named 'absl' error when I import tensorflow
No module named 'absl' error when I import tensorflow  Hi, In one... the errror: No module named 'absl' error when I import tensorflow Earlier... to resolve the error: No module named 'absl' error when I import tensorflow
No module named 'absl' error when I import tensorflow
No module named 'absl' error when I import tensorflow  Hi, In one... the errror: No module named 'absl' error when I import tensorflow Earlier... to resolve the error: No module named 'absl' error when I import tensorflow
No module named 'absl' error when I import tensorflow
No module named 'absl' error when I import tensorflow  Hi, In one... the errror: No module named 'absl' error when I import tensorflow Earlier... to resolve the error: No module named 'absl' error when I import tensorflow

Ads