Can you configure Spring-Security programmatically?
        Posted  
        
            by jschoen
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jschoen
        
        
        
        Published on 2010-06-07T23:59:28Z
        Indexed on 
            2010/06/08
            0:02 UTC
        
        
        Read the original article
        Hit count: 411
        
java
|spring-security
I am working to configure Spring-Security with an existing application, for just basic security (i.e. what pages a user can see based on their roles). The question came up wondering if we could set what roles are required for each page in java instead of the ApplicationContext.xml.
The idea is to store them in a table in our database, so we can easily change them with out a redeployment. Is this possible? How?
© Stack Overflow or respective owner