Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    851

    Okay, got your point. In that case, i am not very...

    Okay, got your point. In that case, i am not very sure if spring security would skip the second provider if 1st authenticates successfully. But the javadoc of ProviderManager states :




    so you...
  2. Replies
    5
    Views
    851

    That's my point, why you want to skip one, let...

    That's my point, why you want to skip one, let the spring security check on first and if it fails, let it check second. I understand it has a bit performance overhead but considering login is just...
  3. Replies
    5
    Views
    851

    May be i got your requirement wrong, but i guess...

    May be i got your requirement wrong, but i guess you might be already doing this..



    <authentication-manager>
    <!-- DB Provider -->
    <authentication-provider...
  4. Replies
    1
    Views
    1,164

    getAuthorities returns ordered collection

    For writing custom implementation of UserDetails, why does the getAuthorities method require the collection to be returned to be sorted?



    Is it mandatory requirement or just...
  5. Replies
    5
    Views
    1,404

    Thanks :)

    Thanks Luke for explaining. I am fairly new to spring-sec and was evaluating whether its suitable for my next project.

    So can my UserDetails implementation throw an exception or any predefined...
  6. Replies
    5
    Views
    1,404

    UserDetails.getPassword

    Please pardon me if the question is really stupid, but just out of need I do not want to store user password in the session-wide available userdetails implementation object.

    java.lang.String...
  7. Thread: Log configuration

    by kedi
    Replies
    2
    Views
    1,175

    use spring's listener

    <!-- Load log4j first so that logger can be used by other services -->
    <listener>
    <listener-class>
    org.springframework.web.util.Log4jConfigListener
    </listener-class>
    </listener>
  8. Replies
    5
    Views
    2,881

    thanks gazlm. could you get...

    thanks gazlm. could you get ServletContextPropertyPlaceholderConfigurer to work or you opted for the ServletContextParameterFactoryBean ?
  9. Replies
    5
    Views
    2,881

    finally got it working

    <bean id="envConfigLocation"
    class="org.springframework.web.context.support.ServletContextParameterFactoryBean">
    <property name="initParamName"><value>envConfigLocation</value></property>...
  10. Replies
    5
    Views
    2,881

    i have to use two configurers one for loading...

    i have to use two configurers
    one for loading the properties & the other for loading the config file name (location) itslef for the previos configurer.

    i have set correct order to load the...
  11. Replies
    5
    Views
    2,881

    Eureka :)

    m yet to test it :)
  12. Replies
    5
    Views
    2,881

    Reading context-param in spring context file

    i want to put environment specific properties into env.properties which would reside in WEB-INF/conf/
    (the reason for doing so is: i am keeping all the conf files in conf directory instead of...
  13. Replies
    2
    Views
    2,869

    thanks for reply :)

    thanks for reply :)
  14. Replies
    2
    Views
    2,869

    contextConfigLocation

    what's the difference b/w classpath & classpath*



    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>
    classpath*:abc,
    classpath:xyz</param-value>...
  15. Replies
    6
    Views
    1,263

    one more reason

    one more reason ;)
    We use only three DataTypes in VOs, String, BigDecimal & Timestamp. BigDecimal's constructor supports string as parameter to construct an instance. again some coding is saved for...
  16. Replies
    5
    Views
    1,185

    sure, i had just given a very simple idea....

    sure, i had just given a very simple idea. numerous modifications are necessary.
  17. Replies
    5
    Views
    1,185

    Meal{ name, price, qty, } Order{ id...

    Meal{
    name,
    price,
    qty,
    }
    Order{
    id
    list<Meal> meals
    }
    Bill{
  18. Replies
    5
    Views
    1,185

    Are you going to use hibernate or plain jdbc sql...

    Are you going to use hibernate or plain jdbc sql queries ? that could change the object contents
  19. Replies
    3
    Views
    1,217

    View Post

    <set name="brgpInfos" table="BrgpInfo" cascade="all-delete-orphan" inverse="true" lazy="false">

    try


    lazy="true"

    may be this will help.
  20. Replies
    6
    Views
    1,263

    I got a point

    It doesnt work when i pass the int[] types array. but it works when i donot pass it. exactly opposite to the behaviour one would expect.

    i think its because, oracle accepts WHERE ID='2' as valid...
  21. yes karldmoore meant it right.

    yes karldmoore meant it right.
  22. I agree. even if it could, IMHO it should not.

    I agree. even if it could, IMHO it should not.
  23. Replies
    6
    Views
    1,263

    reason for doing so

    Thanks for your replies,


    I am using struts 1.3.8 :(

    The reason for doing so was:

    the dto's would be very simple. no mulling over datatypes.
    I can copy form's (ActionForm) data to dto's...
  24. Replies
    6
    Views
    1,263

    All-String parameters in a query

    Hi,

    To avoid the hassles of typecasting & parsing numerics etc, i extract the data from text fields (of a web applications's form) & pass it as String only to all DAO's methods. following is the...
Results 1 to 24 of 24