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...
Type: Posts; User: kedi; Keyword(s):
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...
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...
May be i got your requirement wrong, but i guess you might be already doing this..
<authentication-manager>
<!-- DB Provider -->
<authentication-provider...
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...
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...
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...
<!-- Load log4j first so that logger can be used by other services -->
<listener>
<listener-class>
org.springframework.web.util.Log4jConfigListener
</listener-class>
</listener>
thanks gazlm. could you get ServletContextPropertyPlaceholderConfigurer to work or you opted for the ServletContextParameterFactoryBean ?
<bean id="envConfigLocation"
class="org.springframework.web.context.support.ServletContextParameterFactoryBean">
<property name="initParamName"><value>envConfigLocation</value></property>...
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...
m yet to test it :)
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...
thanks for reply :)
what's the difference b/w classpath & classpath*
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:abc,
classpath:xyz</param-value>...
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...
sure, i had just given a very simple idea. numerous modifications are necessary.
Meal{
name,
price,
qty,
}
Order{
id
list<Meal> meals
}
Bill{
Are you going to use hibernate or plain jdbc sql queries ? that could change the object contents
<set name="brgpInfos" table="BrgpInfo" cascade="all-delete-orphan" inverse="true" lazy="false">
try
lazy="true"
may be this will help.
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...
yes karldmoore meant it right.
I agree. even if it could, IMHO it should not.
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...
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...