Search:

Type: Posts; User: rrkwells; Keyword(s):

Search: Search took 0.03 seconds.

  1. So this was the issue...

    So this was the issue https://jira.springsource.org/browse/spr-3815 :(.. jars not being copied.. My app is working now.
  2. Replies
    1
    Views
    224

    name of the property in your modelAttribute. ...

    name of the property in your modelAttribute.

    Login.java
    {
    private String userId;
    private String password;
    //getters and setters
    }

    In your LoginController you will add the Login object...
  3. I have finally decided add this preference param...

    I have finally decided add this preference param to HTTPSession and retreive it on every page render.
  4. Why is that WebFlow doesn't recognise annotated beans on server?

    I am experiencing a weird issue. I have a couple of util classes that are annotated as @Component and I am calling its methods ni evaulate element like..



    <on-start>
    <evaluate...
  5. Hello John, I have exactly the same issue....

    Hello John,

    I have exactly the same issue. Did you figure out what the issue was? Thanks!
  6. Breadcrumb navigation - flowscoped variables

    Hello,

    I need help with implementing cookie type variables in my flow. I have a user preference setting value that I store in a flowscoped object.



    public class MyFlowUtil{

    private...
  7. Replies
    2
    Views
    485

    add default text to each error element

    @kaj..

    Is there any way I can add a default text to each Error element?

    Lets say, I want to add text "Error:" in front of the actual message. So far I have been adding that text to each error...
  8. Should I have business logic in view-state or action-state

    What is the best place to call the business logic in? I have the following requirements.

    1). Get the search criteria from user

    2). If the current user is trying search for unauthorized results...
  9. Exception if I declare Global transitions in flow

    I have a simple flow definition file with couple of view-states. I wanted to add a global-transitions section for exception pages and as soon as I add that element, I am getting a weird error.


    ...
  10. Viewstate on render - set up default Model parameters

    Hi,

    Can someone please clarify at what instant the "model" objects of view state will be added to the flowscope? I am trying to setup some default values to my model object but the object isn't...
  11. how to get SequenceGenerator Id of the peristed entity before transaction commit

    I have an hibernate entity that uses Sequence GenerationType strategy with @SequenceGenerator for generating the id. I need the value of this id before this transaction is committed to use it in...
  12. Replies
    1
    Views
    1,245

    Oops it was too early call for help.. I just...

    Oops it was too early call for help.. I just didn't have the proper version of aop..
  13. Replies
    1
    Views
    1,245

    Exception with Method Level Security

    I am getting following error when a request is made to the page..


    org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError:...
  14. this is my security-config file's pre-auth-filter...

    this is my security-config file's pre-auth-filter element..


    <bean id="channelSecureFilter"
    class="org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter">...
  15. Preauthentication - Invalidate session on Principal Change and Roles(???)

    I have a couple of questions regarding Preauthentication using SiteMinder scenario....

    1). To invalidate a session on principal change, what all should be there in the configuration file? I...
  16. I dont even need to extend...

    I dont even need to extend PreAuthenticatedGrantedAuthroritiesUserDetailsService class. I can just add the roles in loadUserByUsername(String userName) itself.. this is what I have now and it is...
  17. thanks for the reply jbbarquero.. your...

    thanks for the reply jbbarquero.. your implementation seems to be the best possible for authenticating against db.. but it turns out I don't need that much complex stuff.. since I am using...
  18. thanks rwinch.. you are very helpful.. one more...

    thanks rwinch.. you are very helpful..
    one more question.. there is really no need to define the <global-method..> element in security-context file if I don't define any business related beans.....
  19. From the API docs, it looks like extending the...

    From the API docs, it looks like extending the PreAuthenticatedGrantedAuthoritiesUserDetailsService is not proper way ti attach roles the principal.

    Can anyone guide me on where exactly should I...
  20. Spring Security Pre-authentication without authorization

    I am trying to implement pre-authentication scenario and I am running into few issues.. This is my security context file..



    <sec:global-method-security secured-annotations="enabled"...
  21. thanks for the reply rwinch.. in that case, if I...

    thanks for the reply rwinch.. in that case, if I define the element <global-method-security.../> in parent context it should be picked up by all the child context files right? I have a main context...
  22. Spring Security Custom UserDetailsService to use User Service/Dao

    I am using a custom UserDetailsService to authenticate users. This uses a PersonDao/Service object that is autowired. To autowire this object, I had to include reference to datasource, sessionfactory...
  23. Replies
    2
    Views
    768

    Spring MVC BindException

    here is a part of my code that I'm having issues with..

    SearchForm.java



    public class SearchForm{
    private String name;
    private List<Client> clients;
    //getters and...
  24. Replies
    2
    Views
    806

    Spring's autowired service objects

    I want to call method on different service objects based on a request parameter. I have this currently..




    @Controller
    public class HomeController {

    @Autowired
    AService aService;
Results 1 to 24 of 24