User 2 « Security « Spring Q&A





1. New user problem    forum.springsource.org

New user problem I've been trying for some time to get the initial configuration working with our web application with just the filter paradigm. Currently I'm getting the following error: Initialization ...

2. Associating user to either customer, vendor or CSR    forum.springsource.org

Associating user to either customer, vendor or CSR Hi, I am not sure if this message belongs here, but would like to know the general pattern/method to associate a logged in ...

3. Designing views with multiple actions for user to take    forum.springsource.org

Designing views with multiple actions for user to take Hi, I got interested in Spring and I was wondering how following should be done with Spring. Say, we have a store ...

4. change user name or delete profile    forum.springsource.org

Hello, As you can see, I didn't register properly. My email address shows as the user name. Is there a way to change the user name or delete the current profile? ...

5. Optimizing (Date fields) viewing for final users with Spring    forum.springsource.org

Optimizing (Date fields) viewing for final users with Spring I am working with spring for only some months, it works really nice, i love it, but (there is always "but" hehe ...

6. User defined types returned from referenceData()?    forum.springsource.org

User defined types returned from referenceData()? I have a SimpleFormController with a referenceData() method that returns a Map containing a List of user defined types (containing only String inst vars). Running ...

7. What a new user really expects...    forum.springsource.org

What a new user really expects... Hi, at the moment I evaluate the different RCPs around there. At the moment I have to decide between Spring RCP and Netbeans. A big ...

8. Spring User Group Forum Section ?    forum.springsource.org

9. Spring/IBatis: getConnection(user,pwd)    forum.springsource.org

Hello, I'm using Spring + IBatis (Oracle ) and I'd like to store user signature on each record he inserted/updated. We accomplish this via Oracle Triggers, so in this case I'd ...





10. How to prevent users from clicking the back button    forum.springsource.org

I use Spring and well as Hibernate and Struts. The back button can be a real pain for web developers, and I am in this situation. I have seen websites that ...

11. Problem calling Stored Procedure returning SETOF user defined types    forum.springsource.org

Problem calling Stored Procedure returning SETOF user defined types I am using the StoredProcedure class to call a stored procedure from a PostgreSql database. It returns a set of user defined ...

12. Very Simple Question: Following the user through the application    forum.springsource.org

Very Simple Question: Following the user through the application Hi, This series of questions are probably pretty pathetic, but I searched and couldn't find an answer, the answer itself may be ...

13. how to deal with two users sign in on the same machine?    forum.springsource.org

if there are two different user sign in on the same mache,the prev-user will auto session expired.How to achieve this?or is there another solutions?

14. Multi-user will overwrite each other's data    forum.springsource.org

Multi-user will overwrite each other's data Hi I'm working on a Spring/Hibernate application, and we're experiencing a multi-threading issue. The effect is that different users will overwrite each other's data, e.g. ...

15. Cleaning up after the user    forum.springsource.org

Cleaning up after the user Hi all When loading a form, Spring will create a form backing object and - if sessionForm is true - write that object to the session. ...

16. HotSwappableTargetSource and multiple users    forum.springsource.org

HotSwappableTargetSource and multiple users Hi there , I implemented some functionality that use HotSwappableTargetSource to switch from multiple datasources . The problem is when user1 goes into application he will use ...





17. List of authenticated users    forum.springsource.org

Newbie question I'm afraid. I am maintaining a web application that uses Acegi to manage user-authentication. Is there any way that I can simply retrieve a list of users currently authenticated ...

18. create user in jetspeed 2.0    forum.springsource.org

19. create user in jetspeed 2.0    forum.springsource.org

20. Extending User class    forum.springsource.org

I am interested in extending the user class and noticed that there are various methods such as isAccountNonExpired and isCredentialsNonExpired which implies to me that somewhere some kind of time value ...

21. setting other user attributes    forum.springsource.org

Hi, i have a User subclass of acegis user class, the class add some attributes (asociated customer) loaded on loadUserByUsername from JdbcDaoImpl. Some action need to get asociated customer from user ...

22. User terms and conditions acceptance?    forum.springsource.org

I would like to direct users who login to a terms and conditions page that they must accept before they go to the secured page. Can someone point me in the ...

23. How to user info without restarting the app    forum.springsource.org

Hi, I'm using basic authentication using jdbc dao. Is there a way to invalidate the user info in memory without restarting the app? I want the changes to an existing user ...

24. How change the language for user interfaces?    forum.springsource.org

How change the language for user interfaces? Hello, I am trying to build a Spring application, whose user interface can have two languages: English and Spanish. My tests show that if ...

25. Users of our nightly builds need to do a clean install of Spring IDE 2.0 M3    forum.springsource.org

With our nightly builds for Spring IDE M3 we had to update the spring.jar within the plugin "org.springframework" a few times to adopt the changes Juergen made to enhance Spring's tooling ...

26. Wiring user    forum.springsource.org

Wiring user I am wondering how we could inject the user object (implements UserDetails) into a bean? An Order object has an instance of user, I want to container automatically injects ...

27. user.propertes : test vs. deployment    forum.springsource.org

I'm putting together simple test cases and I ran into this: Code: The user properties here requires ...

28. CustomEditors and User Input    forum.springsource.org

CustomEditors and User Input This follows up on a thread I started a while back: http://forum.springframework.org/sho...t=NumberFormat I wanted to play around with more stuff before I continued the conversation. I want ...

29. problem retreiving the authenticated user    forum.springsource.org

problem retreiving the authenticated user Hi, I am having a problem that when I run my web software using an embedded Jetty container I can't get the authenticated user back. I ...

30. Setters for user/pass on CommonsHttpMessageSender?    forum.springsource.org

Hi, Assuming that CommonsHttpMessageSender is often used for it's authentication support, wouldn't it be convenient if it exposed setters for a username and password (AuthScope should probably default to AuthScope.ANY)? Thanks, ...

31. Acegin WEbWork / retrieving user    forum.springsource.org

Acegin WEbWork / retrieving user hi all, i am using acegi security in a webwork application.. i have a small problem in the sense that in the footer of all my ...

32. Spring business tier and system user?    forum.springsource.org

Spring business tier and system user? I have an application that has a Struts based web GUI and a Spring business tier with Acegi for authentication. I want to add some ...

33. New user - help with binding data    forum.springsource.org

New user - help with binding data I'm using spring 1.2.8 for my MVC app and need some help/clarification. I have a form with about 75 or so parameters grouped in ...

34. Trying to prevent user from switching views    forum.springsource.org

Trying to prevent user from switching views I've got a small project with four views displaying one at a time in a single window. I have links in the windows to ...

35. How to customize user attribute    forum.springsource.org

How to customize user attribute Hi, I am very new to Java and Acegi so please forgive me for my stupid question. I'd like to extend the user information like employeeID, ...

36. when to read and cache additional user data?    forum.springsource.org

After successful authentication to the web application I need to read the user from the database and cache some of the user settings in the session. Where's the right place in ...

37. user doesn't get authenticated against JdbcDaoImpl????    forum.springsource.org

user doesn't get authenticated against JdbcDaoImpl???? Hai all, I am using acegi for user authentication and authorization.While i am using InmemoryDao it works fine but when i use JdbcDaoImpl i doesn't ...

38. Temporarily disable a user after a number of unsuccesfull logon attempts    forum.springsource.org

Temporarily disable a user after a number of unsuccesfull logon attempts I need to block a user for a half hour if he/she has 3 unsuccessfull login attempts. I could listen ...

39. How to user @ContextConfiguration    forum.springsource.org

How to user @ContextConfiguration Hello, i don't know, how to rewrite this method @Override protected String[] getConfigLocations() { return new String[] { "applicationContextForTests.xml", "file:webapp/WEB-INF/applicationContext.xml", "file:webapp/WEB-INF/jcrPersistenceApplicationContext.xml", "classpath:cz/aura/cms/servicesApplicationContext.xml", "classpath:cz/aura/cms/jcrApplicationContext.xml"}; } to annotation @ContextConfiguration. ...

40. Generate salt when user register    forum.springsource.org

Generate salt when user register Hello, When user register to my service, I ask him for username, passwor etc. In my onSubmit method I need to generate salt, and password encoded ...

41. IndexOutOfBound on new user    forum.springsource.org

Hi all, I have a simple method to implement but it is not my day so there a header (smuser) being passed from Siteminder, what needs to happen check if the ...

42. replace authenticated user    forum.springsource.org

replace authenticated user Hi, I'm using acegi 1.0.3 with wicket and spring. I was wondering if it is possible in an easy way to replace an authenticated user with the new ...

43. front ends to manage users    forum.springsource.org

We are building a traditional web application on top of Spring Web. To address authentication and authority I would like to use Acegi Security. I want to avoid re-inventing the wheel ...

44. User Forums based on spring framework    forum.springsource.org

User Forums based on spring framework I have my application written completely in spring and jsp Now i want to add user forums into it, but i am not been able ...

45. Forcing the user to choose a profile    forum.springsource.org

It's me again After some study, I think I will implement it using an HandlerInterceptor in Spring MVC. So I would use: - Acegi for Authentication and predefined role based rules ...

46. ClassCastException: LdapUserDetailsImpl cannot be cast to User    forum.springsource.org

And what are you trying to say here? User is just another implementation of UserDetails. LdapUserDetails is another implementation of UserDetails (specific for Ldap). LdapUserDetails isn't a User hence the classcast ...

47. How to user the AbstractUrlViewController    forum.springsource.org

48. Use User's    forum.springsource.org

Use User's Is it possible to use the user's signon (which is also the database's username + password) as the datasource in a JTA? as some of the authority is set ...

49. [2.0M1] custom-user-service element removed?    forum.springsource.org

A quick look at the schema from 2.0M1 gives that the current schema only supports JDBC and in-memory user details services. Whatever happened to the "custom-user-service" element? Are there any plans ...

50. Determining User ID    forum.springsource.org

I have a Dao class that needs to store the user ID as audit information when processing a request. It is not clear to me how I would be able to ...

51. help!!GenericJDBCException: Cannot open user connection    forum.springsource.org

my web application sometimes works well , but another times throws exceptions. the issue have driven me nuts. Hibernate complains about "Cannot open connection". my environment is Hibernate 3.1, spring 1.2.5, ...

52. Empty Principals getting all online users    forum.springsource.org

Empty Principals getting all online users Hi all, first of all sorry if this question is over-asked, i have been searching in this forum and others and i found similar posts, ...

53. Link to user-guide broken    forum.springsource.org

Hi, I'd like to point out that the link to the user guide on the spring batch site (http://static.springframework.org/spring-batch/) is broken. If I click on User Guide , I get the ...

54. Accessing user identity in a POJO service    forum.springsource.org

Accessing user identity in a POJO service I am trying to figure out what's the best way to design a POJO service that needs access to the user's identity. Can Spring ...

55. user selection in the preauthenticated application    forum.springsource.org

user selection in the preauthenticated application Hello, I've implemented preauthenticates security model in my application. i.e When the app receives the request, I get the preauthenticated credentials and do the authorization. ...

56. HotSwappingDataSource for multiple users    forum.springsource.org

HotSwappingDataSource for multiple users Hi, I have a problem with the HotSwappableTargetSource. When i use it, it swaps for all users and not only the specific logged in user session. I ...

57. Requied Help to configure user Details Services    forum.springsource.org

I am in a big trouble while setting up userDetailsService i cant figure it out what is happening behind the scene. If anybody can provide a little help in this reagard ...

58. Spring Italian User Group Meeting 2008    forum.springsource.org

59. Get user timezone    forum.springsource.org

60. Need Help with Using Spring WorkManager as replacement for user spawned Threads    forum.springsource.org

Need Help with Using Spring WorkManager as replacement for user spawned Threads I have just started learning Spring and I am trying to use it in my application where the current ...

61. How To : Custom User details    forum.springsource.org

Jul 18th, 2008, 10:44 AM #1 jybosse View Profile View Forum Posts Private Message Junior Member Join Date Oct 2006 Posts 28 How To : Custom User details I don't know ...

62. How to provide the best user experience for different devices?    forum.springsource.org

How to provide the best user experience for different devices? I am looking at a problem of how we support many client devices like pc and mobile. Some people would just ...

63. Display messages to users based on results    forum.springsource.org

Hi, I need to add a feature to my spring based web app to display certain messages to users based on the results. From what I gather, validators are used to ...

64. Switching message bundles depending on user configuration    forum.springsource.org

I'm currently working on a web site that uses Spring and MVC for its frontend. Since we are located in switzerland it is one of our core concerns to have a ...

65. Load extra authorities for pre-authenticated user    forum.springsource.org

Aug 5th, 2008, 02:58 AM #1 Bas View Profile View Forum Posts Private Message Visit Homepage Member Join Date Aug 2006 Location Melbourne, Victoria, Australia Posts 55 Load extra authorities for ...

66. Using autheticated user for group search...    forum.springsource.org

Using autheticated user for group search... Due to security constraints from various sources, the access to a 'root' user for the contextSource is unavailable. Hence my problem....LDAP should allow for a ...

67. Checking multiple AD server if a user exists    forum.springsource.org

I would appreciate some direction on what I need to do in order to have Spring Security check multiple AD servers to determine if a user exists. My application is authenticating ...

68. [Design] Allowing admin to edit user details    forum.springsource.org

[Design] Allowing admin to edit user details Greetings Spring gurus, I'm attempting to implement functionality that is fairly common in web apps, but Im not actually sure how best to implement ...

69. show info message to user    forum.springsource.org

Hi all, my application I always show an message to user, sample "Customer add successful" and others, how the best way implement it using spring mvc with annotations ? today all ...

70. Right way to start user thread    forum.springsource.org

Right way to start user thread Hi, i tried to find some example, how to start user thread that should use spring beans. So, this example bellow is working for me, ...

71. user redirected instead of internally forwarded?    forum.springsource.org

Im reading the book "building spring 2 enterprise applications" and i'm at the section regarding how to implement onSubmit(). it says: After every form submission, the user should be redirected, not ...

72. User Locale    forum.springsource.org

Hi All: I have the following questions wrt to user locale 1) Is it mandatory to use localeChangeInterceptor along with one of the locale resolvers ? 2) Can I only use ...

73. User interface restrictions    forum.springsource.org

User interface restrictions Dear all, I'm trying to restrict access on certain user intereface components like buttons and fields. Based on the user's role I want to show or hide these ...

74. Storing additional information of users    forum.springsource.org

Hi all, i'm new of spring-security and i would like know if is there an how-to in order to storing additional information of users (like e-mail, city, country etc.). Best regards ...

75. Sucessful Authetication of User using Spring security    forum.springsource.org

Sucessful Authetication of User using Spring security Hi All, First off, I am not very familiar with spring or spring security, this task has fallen into my lap and I am ...

76. Help Me - Using PreAuthenticatedProcessingFilter Randomly picks user?    forum.springsource.org

Feb 4th, 2009, 09:39 AM #1 wacaine View Profile View Forum Posts Private Message Junior Member Join Date Feb 2009 Posts 4 Help Me - Using PreAuthenticatedProcessingFilter Randomly picks user? OK ...

77. SecurityContextHolderAwareRequestWrapper isUserInRole always returns null when user i    forum.springsource.org

SecurityContextHolderAwareRequestWrapper isUserInRole always returns null when user i In our application a user can be fully authenticated or anymously authenticated. In the later case the security token is the AnonymousAuthenticationToken. When ...

78. What's the best stragedy to deal with user specific connections/queries?    forum.springsource.org

What's the best stragedy to deal with user specific connections/queries? So I have this customer who requires that database queries be conducted by specific user accounts, for auditing purposes. I'm trying ...

79. Saving user details    forum.springsource.org

Hi everyone. I have the following question: how can I "save" the user data (like id, password, other relevant informations) , to retrieve inside other classes, when it needed. I was ...

80. j_spring_security_exit_user problem    forum.springsource.org

j_spring_security_exit_user problem Hi All, First, thanks to the SpringSecurity team for a great product! kudos... I need to use the SwitchUser functionality in one of our apps. Switching to a different ...

81. how to retrive user info in a view    forum.springsource.org

public class MyView extends AbstractView implements AuthenticationAware{ private Authentication authentication; protected JComponent createControl() { ............. } public void setAuthenticationToken(Authentication arg0) { this.authentication=arg0; } }

82. pb accessing user info in a view    forum.springsource.org

public class MyView extends AbstractView implements AuthenticationAware{ private Authentication authentication; protected JComponent createControl() { ............. } public void setAuthenticationToken(Authentication arg0) { this.authentication=arg0; } }

83. new feature: update GrantedAuthorithies on authenticated users    forum.springsource.org

new feature: update GrantedAuthorithies on authenticated users many of the webapp that use spring security are based on authorities which are generally stored in a database, the problem resides when an ...

84. AccessDenied even with Anonymous User    forum.springsource.org

AccessDenied even with Anonymous User Hi, I'm currently developing a JSON service layer with Spring secured with Spring Security. I'm using the namespace configuration () I want to enable Anonymous ...

85. What is user management API?    forum.springsource.org

Spring Security 2.0 promoted the following feature: a user management API. I did not find any reference to this feature in the documentation and the Spring Security 2.0.4 code. I did ...

86. Persisting a view's JXTable user settings    forum.springsource.org

Jul 30th, 2009, 07:21 AM #1 cmadsen_dk View Profile View Forum Posts Private Message Member Join Date Oct 2008 Posts 45 Persisting a view's JXTable user settings Hello Here is how ...

87. how to user job instance ID created externally to the framewor    forum.springsource.org

how to user job instance ID created externally to the framewor After studying the football examples, it's not clear to me how job instance is created and how job instance ID ...

88. link to user guide not reachable    forum.springsource.org

Please update the spring rcp website under section getting started the link user guide. http://spring-rich-c.sourceforge.net...userGuide.html This link is not reachable. Spring RCP is a great framework, but you will lost a ...

89. Cannot get Custom User Details to work.    forum.springsource.org

Cannot get Custom User Details to work. I am trying to get Spring Security to work with getting my user details from the data base. Here is my configuration. Code:

90. A re-usable connection per user?    forum.springsource.org

A re-usable connection per user? I was wondering what the best approach is to maintaining a connection throughout a users session, on a per-user basis. This means multiple connections at any ...

91. X.509, user-service-ref (Spring Security 2.0.5)    forum.springsource.org

We are in the process of replacing JOSSO with Spring Security. Our application server is Tomcat. We have standard userid/password authentication working, but when we try to use X.509 certificate authentication, ...

92. Combine in memory user service with dao user service    forum.springsource.org

Hi. I would like to have an admin account "hardcoded" in applicationContext.xml and the rest users taken from database. Is it possible in Spring Security 3.0? Thanks in advance!

93. User addon/plugins and existing behavior    forum.springsource.org

User addon/plugins and existing behavior Ben/Stefan, I'm looking forward to RC3 with the ability to write your own addon as demonstrated at Springone. I have some questions on how the plugins ...

94. Spring Security for 2 different User objects on same site    forum.springsource.org

Spring Security for 2 different User objects on same site I'm wondering if it is practical or possible to use 2 different user tables for authentication in one web application. And ...

95. Color shell support for Windows users Issue    forum.springsource.org

Color shell support for Windows users Issue I ran the following commands roo addon install --url http://www.xs4all.nl/~kuip/com.sprin...ddon-1.0.0.zip set ROO_OPTS="-Droo.bright=true" but no luck I get the following error. Caused by: org.springframework.beans.BeanInstantiationExcepti on: ...

96. Sending a message to the user    forum.springsource.org

97. The requested operation cannot be perfor med on a file with a user-mapped section ope    forum.springsource.org

The requested operation cannot be perfor med on a file with a user-mapped section ope I am getting this error in Roo shell. This happens when I am running the steps ...

98. gettting user information in services    forum.springsource.org

gettting user information in services Some of my service methods needs User information .My application uses spring acegi security , after authentication the acegi puts the user principal in threadLocal so ...

99. How to prevent sending mail to users when in dev or test mode    forum.springsource.org

How to prevent sending mail to users when in dev or test mode I often test my application with a copy of a live database, but have to be careful to ...

100. Forwarding preauthenticated Subject (User token) into WAS    forum.springsource.org

Forwarding preauthenticated Subject (User token) into WAS I am trying to implement a solution where users authenticated using Spring security can foward the username token into a SOAP Security header. Currently ...