form « Security « Spring Q&A





1. Spring security - how to mention both form based and basic authentication    stackoverflow.com

Is it possible to mention both form-based and basic authentication in Spring security using namespace configuration without overriding other ? So that the appliciation could serve both browser based request and ...

2. Is it possible to send more data in form based authentication in Spring?    stackoverflow.com

I am relatively new to the Spring Framework and Spring security. I have used a custom authentication scheme, HTML:

<form action="j_spring_security_check">
    <input type="text" name="j_username" value="abc"/>
    ...

3. Spring Security Custom freemarker form    stackoverflow.com

I'm currently working on a project were we use freemarker as a template language. Instead of using the defualt login form I have created a custom controller and a custom freemarker view ...

4. Can you have both form and basic authenication using Spring 3    stackoverflow.com

I would like to have both form and basic authentication. If the request comes like https://username:password@mysite.com/ basic authentication is used. If the request comes like https://mysite.com form authentication ...

5. No submit on Spring 3 form when user presses enter or any other key    stackoverflow.com

How to gain function mentioned above? Google is not very helpful with this-

6. Configuring Spring Security 3.x to have multiple entry points    stackoverflow.com

I have been using Spring Security 3.x for handling user authentication for my projects, and so far, it has worked flawlessly. I recently received the requirements for a new project. In this ...

7. custom spring security form    stackoverflow.com

I would like to add captcha to spring security form, how can I implement this? I have declared my custom form login like: <form-login login-page="/login" /> now I need to override authentication ...

8. Support both FORM and BASIC Authentication: Spring Security    stackoverflow.com

My goal is to implement both FORM & BASIC authentication for our webapp.....both support same "intercept-url" patterns...... I tried to Implement a custom BasicAuthenticationFilter as mentioned Two realms in same application ...

9. Form field behavior based on user profile    forum.springsource.org

The problem: I have to present an HTTP FORM built with Velocity User has requested me that certain form fields enable or disable some values or ranges based on "who" is ...





10. Security of form fields in *FormController    forum.springsource.org

Originally Posted by nilesh I am wondering, when using SimpleFormController, AbstractFormController, etc: For the properties of an object that you don't bind in your view (using spring:bind tags), is it possible ...

11. Create new user form    forum.springsource.org

public void save(UserDetails userDetails) { Object salt = saltSource.getSalt(userDetails); String encodedPassword = passwordEncoder.encodePassword(userDetails.getPassword(), salt); // use encodedPassword for the saved object }

12. Manual Authentication in Forms app    forum.springsource.org

Manual Authentication in Forms app Hi, All, I have an application that is currently using the standard forms style login that Spring Security offers. A filter chain is set up that ...

13. Spring seems to bind all form fields : security?    forum.springsource.org

Spring seems to bind all form fields : security? Hi all, i wondered how secure the automatic data binding is, when using domain objects directly as command objects (a very usefull ...

14. h:form submit with spring security    forum.springsource.org

15. Form Authentication and Query Parameters    forum.springsource.org

Form Authentication and Query Parameters We are using form based authentication in our app and configuring a login page using Spring Security. We are posting to a URL with several query ...

16. With Spring-MVC, how can throw away POST form parameters based on user role?    forum.springsource.org

With Spring-MVC, how can throw away POST form parameters based on user role? I have forms to edit users in a web application. If the user role is a director, I ...





17. How to make user register form ?    forum.springsource.org

How to make user register form ? when making user register form, there's one thing is to confirm password input. _________________________ | | | UserName: | | Password : | | ...

18. How to populate a form and show it to the user !? (newbie)    forum.springsource.org

How to populate a form and show it to the user !? (newbie) Hi, all! Im a new spring user and i have a little problem. I want to populate a ...

19. Inform a user if another user is editing the same form    forum.springsource.org

Hi, I need to inform the users of my webapp if another user is editing the same form (the same command-object with a certain id). How could I achieve this? I ...

20. How to prevent user from double clicking the submit in a form useing spring MVC    forum.springsource.org

When user double click the submit of a form. The infomation will be sent twice and will led to unpredictable result. So is there any good method to prevent this situation ...

21. Form based security with RDBMS    forum.springsource.org

Form based security with RDBMS Experts, I want to introduce a form based security wrapper for my web-app with the user credentials being read from a database (Oracle). I had considered ...

22. unable to access the Spring-form.tld    forum.springsource.org

23. Acegi extended form authentication    forum.springsource.org

24. how to perform FORM authentication?    forum.springsource.org

hi everyone, I am confused about the FORM authentication mechanism. will anybody shed some light on it? below is copied from "acegi security reference guide": The configured AuthenticationManager processes each authentication ...

25. how to access unbinded hidden parameters of a Form in AbstractWizardFormController    forum.springsource.org

Apologies if this is an obvious question, I am using AbstractWizardFormController I need to pass one or more hidden parameters from page 1 to page2/3, how can i do this without ...

26. Form-based authentication prob    forum.springsource.org

Form-based authentication prob I`m trying to implement acegi 1.0.6 in my app. Everything worked fine with basic authentication. I`ve tried to switch to form based, but I`m having problems viewing login ...

27. Is it Mandatory to define Roles in the form "ROLE_XXX" ?    forum.springsource.org

Wondering is it mandatory to define Roles in the form of "ROLE_" Like any enterprise application we have defined Roles related to domain application. For e.g. Infrastructure System Manager Now how ...

28. Newbie: Both form based and basic authentication    forum.springsource.org

Hi all, I have a business case where I need form based security for all my web pages, but basic authentication for my web services. Anyone tried mixing the two styles ...

29. Accessing form parameters in Spring Security    forum.springsource.org

Accessing form parameters in Spring Security I have two types of users, and in my login form I would like to have radio buttons for them to designate what type of ...

30. Building Spring Security form source    forum.springsource.org

Building Spring Security form source 1)I was able to check out code from trunk using your url svn co src.springframework.org/svn/spring-security/trunk I was not able to do mvn install.I search for a ...

31. Problem with access to the data of a form    forum.springsource.org

Problem with access to the data of a form Hi, I try to modify a web application (Bundle project) which have a simple JSP form which send a query to a ...

32. Form Authentication not working !!    forum.springsource.org

Feb 13th, 2009, 08:28 AM #1 Ravi Jha View Profile View Forum Posts Private Message Junior Member Join Date Feb 2009 Posts 1 Form Authentication not working !! I did all ...

33. Form: Howto access backing object list-field in c:forEach    forum.springsource.org

Hi Mate, First of all formBackingObject and Reference data are two very different cases in particular.The form backing object is only used to add/update property of your command object. As far ...

34. form authentication    forum.springsource.org

Hi all, I couldn't fine out any example. I want to write a small application in which authentication method will be form based. And I want to store user and roles ...

35. Using BASIC authentication with certain paths, form authentication with others    forum.springsource.org

Using BASIC authentication with certain paths, form authentication with others Hello, I'm starting a new application for my company, and I want to leverage the Spring portfolio as much as possible, ...

36. Form Based Authentication with Salt    forum.springsource.org

Form Based Authentication with Salt Hi all, I'm having trouble integrating Salt into the Acegi security framework. At the moment I can get SHA1 encoding working fine. But I'm lost on ...

38. Enforcing Role based access/editing of form fields    forum.springsource.org

Hi, I have a requirement to enforce role based editing of a form field. For an instance, on my HTML form, I want a particular text box to be edited by ...

39. Doubts regarding Changing from BASIC authentication to FORM authentication    forum.springsource.org

Doubts regarding Changing from BASIC authentication to FORM authentication hi All, currently I am using basic authentication for my project...but like to use form based authentication... In BASIC authentication I am ...

40. Form modification based on user's actions    forum.springsource.org

I'm using Spring 3 and I would like to make a form, which fields are added based on user's actions. For example, a certain fields appear when user clicks the radiobutton, ...

41. Form and Basic Authentication    forum.springsource.org

Form and Basic Authentication I'm writing a web service that can also be accessed via the browser. Using content negotiation, a web browser requesting content of type "text/html" will receive HTML-formatted ...