Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. SimpleMappingExceptionResolver not catching exceptions from ActiveDirectoryLdapAuthen

    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...
  2. Thread: @RequestMapping

    by jamin
    Replies
    1
    Views
    514

    adding the following makes it work

    adding the following makes it work


    <bean id="handlerMapping2" class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
    <property name="order" value="0"/>
    ...
  3. Thread: @RequestMapping

    by jamin
    Replies
    1
    Views
    514

    @RequestMapping

    I have the following controller..



    @Controller()
    @RequestMapping(value = "/{toc}/portal/state/{user}")
    public class PortalStateController {
    @RequestMapping(method = RequestMethod.GET)
    ...
  4. Replies
    1
    Views
    586

    http://appfuse.org/display/APF/Home

    http://appfuse.org/display/APF/Home
  5. Replies
    1
    Views
    618

    Hi, I'm not exactly sure if your configuration...

    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...
  6. How to set property of the ScriptFactoryPostProcessor

    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"...
  7. Thread: Usage Question

    by jamin
    Replies
    2
    Views
    737

    After doing some research it seems that I could...

    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?
  8. Thread: Usage Question

    by jamin
    Replies
    2
    Views
    737

    Usage Question

    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 ...
  9. Replies
    1
    Views
    2,873

    IP Authentication

    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...
  10. Replies
    8
    Views
    5,493

    Somba, Can I see your SimpleDAO class?

    Somba,

    Can I see your SimpleDAO class?
  11. Replies
    2
    Views
    1,400

    Actually, I was just looking at the spring...

    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...
  12. Replies
    2
    Views
    912

    What about creating a command object to hold both...

    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...
  13. Replies
    2
    Views
    1,400

    form:input not escaping double quote

    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 "...
  14. Replies
    6
    Views
    886

    From the Date class.. /** * Save the...

    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...
  15. Replies
    6
    Views
    886

    Yes the both report the same value. So i guess...

    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
  16. Replies
    6
    Views
    886

    Yes i mean java.util.Date instances. Im connected...

    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.
  17. Replies
    6
    Views
    886

    HttpInvoker and Dates timezone issue

    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...
  18. Replies
    6
    Views
    986

    This seems to work ok... public class...

    This seems to work ok...


    public class IntegerPropertyEditor extends PropertyEditorSupport
    {
    @Override
    public void setAsText(String text) throws IllegalArgumentException
    {...
  19. Replies
    6
    Views
    986

    Ah right. So i guess i need to create a...

    Ah right.

    So i guess i need to create a editor for the fields and strip the leading '0' if present.

    Thank you.
  20. Replies
    6
    Views
    986

    Error on binding an int field

    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...
  21. How to get specific error from the BindException via jstl

    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...
  22. Thanks Marten

    Thanks Marten
  23. But where do you get the 'yourValue' from. You...

    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...
  24. Validator Alphanumeric chars entered for numeric command property

    Hi,

    Im trying to understand what happens in the following case..

    If I have a simple command object like the following..



    class MyCommand
    {
  25. I think I have got it.. GrantedAuthority[]...

    I think I have got it..


    GrantedAuthority[] grantedAuthorities = new GrantedAuthority[]{new GrantedAuthorityImpl("ROLE_CUSTOMER")};

    UserDetails userDetails = new User("username",...
Results 1 to 25 of 56
Page 1 of 3 1 2 3