Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    1,384

    Hello, from that link: Spring DM is a...

    Hello,

    from that link:



    Spring DM is a reference implementation of the OSGI Blueprint Services.

    Two different things as far as i know.
  2. Thread: spring json

    by davymeers
    Replies
    5
    Views
    7,248

    hello, in our project we are using the...

    hello,

    in our project we are using the json-taglib

    an example of the code:


    <%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %>

    <json:object>
  3. Replies
    4
    Views
    1,071

    well, dojo has backbutton support. also...

    well,
    dojo has backbutton support.

    also Spring-js (which uses dojo) has some nice decorations.

    With one of them, the AjaxEventDecoration you can get a fragment using an ajax request and the...
  4. Replies
    4
    Views
    1,071

    hello, dojo and jquery are javascript...

    hello,

    dojo and jquery are javascript frameworks,

    so javascript needs to be enabled to make them work.

    most of the sites can be divided into 2 categories:

    the so called RIA's. they don't...
  5. Replies
    2
    Views
    4,547

    hello, from spring reference: So brief:...

    hello,

    from spring reference:



    So brief: when you use idref spring does an extra validation, but you can only use the id of another bean as reference.

    The difference between bean and...
  6. Replies
    2
    Views
    718

    IMO the controller communicates with the service...

    IMO the controller communicates with the service layer.

    in the application i'm working on we use the controller to create the flow, collect the data the user entered and validate that data.

    For...
  7. Replies
    3
    Views
    802

    i guess you have to change he order or your...

    i guess you have to change he order or your intercept-url's.

    try placing the

    <security:intercept-url pattern="/login/*" filters="none" />


    at the end of your intercept-url's
  8. in our application we have coarse-grained service...

    in our application we have coarse-grained service facades, fine-grained services and dao classes.

    The services and dao classes are annotated with @Transactional(propagation =...
  9. Replies
    6
    Views
    1,065

    mmm, i don't know. But you could try a sort...

    mmm, i don't know.

    But you could try a sort of sql trick:

    in mssql i can do:


    SELECT login AS username, 'ROLE_CUSTOMER' AS authority FROM users WHERE login = ?

    So you could try the...
  10. Replies
    6
    Views
    1,065

    hello, i thought you want the authorities...

    hello,

    i thought you want the authorities functionality ofJdbcDaoImpl, but also wanted every user to have a specific role "ROLE_CUSTOMER"

    Then you extend the JdbcDaoImpl and override the method...
  11. Replies
    6
    Views
    1,065

    hello, You should extend the JdbcDaoImpl and...

    hello,

    You should extend the JdbcDaoImpl and override the AddCustomAuthorities method.

    Regards,
    Davy
  12. you could also implement your own...

    you could also implement your own HandlerInterceptor that according to the request uses the RequestDispatcher to forward to the appropriate handler.
  13. Hello, i don't know a solution for the caching...

    Hello,

    i don't know a solution for the caching problem of secured pages, but i can help with your locale caching:

    If you change you url's to

    serverport/AppName/Locale/Action.do

    you need...
  14. Replies
    3
    Views
    829

    if you have @ModelAttribute("profile")...

    if you have
    @ModelAttribute("profile") ClientProfile profile in your method signature, spring will try to bind it using a custom propertyEditor
  15. Replies
    3
    Views
    829

    well, by specifiying: protected...

    well,

    by specifiying:


    protected ModelAndView save(@ModelAttribute("profile") ClientProfile profile, @ModelAttribute("user") String user)

    spring tries to transform data in the http...
  16. Replies
    8
    Views
    1,204

    @parvinder: Please create your own thread. ...

    @parvinder:

    Please create your own thread.

    Your question has nothing to do with the TS's problem
  17. Replies
    8
    Views
    1,204

    hello Dumi, i think this is not possible,...

    hello Dumi,

    i think this is not possible, because i can imagine that some part in the spring security filter chain needs that new request.

    Is there a specific reason why you can't use a...
  18. Replies
    8
    Views
    1,204

    a little explanation

    Hello,

    spring web security uses a filter (org.springframework.web.filter.DelegatingFilterProxy) to process every new request.

    Since you're using a forward, you aren't generating a new request,...
  19. Replies
    7
    Views
    776

    Unfortunately i'm not a spring rcp user, and i...

    Unfortunately i'm not a spring rcp user, and i can't help you any further.

    Maybe you could open a thread in the spring rcp forum.

    Regards
  20. Replies
    7
    Views
    776

    This is something spring rcp specific. You...

    This is something spring rcp specific.

    You could try the following:


    Turn on security awareness of the gui

    see http://www.doclo.be/lieven/SpringRichClient.pdf page 41
  21. Replies
    7
    Views
    776

    you can access the current authentication using:...

    you can access the current authentication using:


    SecurityContextHolder.getContext().getAuthentication();

    See also:
    ...
  22. Replies
    7
    Views
    776

    hi richy, you can access the authentication...

    hi richy,

    you can access the authentication object with the spring security authentication tag.

    See also:...
  23. i'd do the following (don't look at the names,...

    i'd do the following (don't look at the names, it's the idea that counts):

    create a clean data access interface (as if you don't need to use the legacy system).


    interface CleanDataInterface{...
  24. i'd create my own implementation for UserDetails...

    i'd create my own implementation for UserDetails and UserDetailsService.
    Then configure spring to use my UserDetailsService for authentication.

    If someone is authenticated you can access that...
  25. for me it makes sense, because that factory is...

    for me it makes sense, because that factory is closely related to the authenticated user, so it feels logic that that user has a reference to "his" factory.

    I hope this help you.
Results 1 to 25 of 87
Page 1 of 4 1 2 3 4