Hi,
I have spring security set up to use the ActiveDirectoryLdapAuthenticationProvider to authenticate users.
While testing I stops the AD server and tried to log into my web app. The web app...
Type: Posts; User: jamin; Keyword(s):
Hi,
I have spring security set up to use the ActiveDirectoryLdapAuthenticationProvider to authenticate users.
While testing I stops the AD server and tried to log into my web app. The web app...
adding the following makes it work
<bean id="handlerMapping2" class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
<property name="order" value="0"/>
...
I have the following controller..
@Controller()
@RequestMapping(value = "/{toc}/portal/state/{user}")
public class PortalStateController {
@RequestMapping(method = RequestMethod.GET)
...
http://appfuse.org/display/APF/Home
Hi,
I'm not exactly sure if your configuration is correct as I use springs transactional attributes but what I think is happening is spring is creating a transaction for each call of a PlayerInfo...
Id like to use a custom ResourceLoader with the ScriptFactoryPostProcessor thats created by spring if I configure a scripted bean as follows.
<lang:groovy id="messenger"...
After doing some research it seems that I could setup a different filter chains for each customer and then add a different user service for each customer.
Does this sound plausable?
Hi,
I have to create a webapp that uses the following urls
http://www.doamin.com/cust_name/login
http://www.doamin.com/cust_name/messages
http://www.doamin.com/cust_name/webmessage ...
Hi,
I have a requirement to perform the following authentication process.
If the requested URL requires no authentication, anonymous, is the remote IP valid?
If the remote IP is valid then...
Somba,
Can I see your SimpleDAO class?
Actually,
I was just looking at the spring form tag documentaion that there is a htmlEscape attribute for the input tag. By default it must be set to false. Setting it to true escapes the " and...
What about creating a command object to hold both off them. Then in the formBackingObject method load the two objects and then the combined command object.
class Object1
{
public String...
Hi,
If a user enters a double quote " in a field of my form and then the form is reshown the form:input tag dosent escape the ".
Im using Spring 2.0.6.
Example:
User enters 'hello "...
From the Date class..
/**
* Save the state of this object to a stream (i.e., serialize it).
*
* @serialData The value returned by <code>getTime()</code>
* is emitted...
Yes the both report the same value. So i guess its down to the way im displaying them in the html interface to web app 1
Yes i mean java.util.Date instances. Im connected to both webapps via a debugger which uses the dates toString() method to show the dates.
Hi,
I have two machines setup. the machines are identical, same hardware, jvm, tomcat and os. The first machine runs a web application that gets data from another web application running on the...
This seems to work ok...
public class IntegerPropertyEditor extends PropertyEditorSupport
{
@Override
public void setAsText(String text) throws IllegalArgumentException
{...
Ah right.
So i guess i need to create a editor for the fields and strip the leading '0' if present.
Thank you.
I get the following error when submitting my form.
Failed to convert property value of type [java.lang.String] to required type [int] for property 'alerts[0].alertHour'; nested exception is...
Hello,
If i add an error via the
public void reject(String errorCode, String defaultMessage) method of the BindException, how can check for and get this error, based on the errorCode, in my...
Thanks Marten
But where do you get the 'yourValue' from. You havent access to the HttpServletRequest and the command value is an int, so the BeanWrapper cant set the nonnumeric value entered into the form into the...
Hi,
Im trying to understand what happens in the following case..
If I have a simple command object like the following..
class MyCommand
{
I think I have got it..
GrantedAuthority[] grantedAuthorities = new GrantedAuthority[]{new GrantedAuthorityImpl("ROLE_CUSTOMER")};
UserDetails userDetails = new User("username",...