User 3 « Security « Spring Q&A





1. Get users's group name once authenticated    forum.springsource.org

Get users's group name once authenticated I am using authority groups and once the user is logged in I need to do different things depending what group the user is in ...

2. get Authenticated user    forum.springsource.org

get Authenticated user Hi! I have a little bit o a problem on my hands. I'm trying to obtain the current authenticated user. my setup is as follows: I have one ...

3. Spring 3 Security: Accessing the user Id    forum.springsource.org

Spring 3 Security: Accessing the user Id Hi I've implemented the basic http authentication mechanism by using this: My question is, given that I am using Spring MVC 3 with @RequestMapping, ...

4. Default admin user on first use    forum.springsource.org

Default admin user on first use Hi All, I am creating a web applicaiton tool that I was hoping there is a way of defining a default admin use for the ...

5. Caching Users Problem    forum.springsource.org

hi, i'm trying to use ehcache with spring security to cache users details, though when i deploy the application i get ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.Blo ckingQueue which jar should i add to the ...

6. Switch user    forum.springsource.org

Hi, I want to implement a switch user facility to another web application (not switching the user in the same application). Can some one guide me how to implement it using ...

7. Noob Q: How do I add user using Spring Security?    forum.springsource.org

I'm completely new to Spring Security and managed to understand how to "login" using Spring Security and protecting the resource. But, I don't get how you add the new user. I'm ...

8. Return user to original target after Registration    forum.springsource.org

Return user to original target after Registration I'm new to Spring Security and generally like what I see, but I'm stumped as to how to do what I think is a ...

9. Authentified users    forum.springsource.org

hi all , i am trying spring security 3.0.x since few days now and i was wondering how can i get the list of all authenticated users on my web page ...





10. Output user friendly messages using an AnnotationFormatterFactory    forum.springsource.org

Output user friendly messages using an AnnotationFormatterFactory Hi, I've created a new annotation to use in the new ConversionService api. It's working perfectly in success cases (the field is parsed and ...

11. Question about User class    forum.springsource.org

Question about User class I need a User class that implements the UserDetails interface and I noticed that Spring already provides one. org.springframework.security.core.userdetails.User I'd was about to subclass this in order ...

12. User registration - Best practise    forum.springsource.org

User registration - Best practise Hi all, I try to implement a jsp page for user registration. I have a form (created with the spring tags), a user bean with all ...

13. Let users edit their own information only?    forum.springsource.org

Let users edit their own information only? I started with Spring 3.0 and Spring Security 3.0. At the moment I have a registration page and login and when logged in users ...

14. Anonymouse users getting through    forum.springsource.org

Anonymouse users getting through Hi, For some reason anonymouse users are able to get through to some pages even though they are restricted. We are using kerberos authentication + LDAP user ...

15. List of authenticated users    forum.springsource.org

16. @Value and sourcing a settings file from user.dir    forum.springsource.org

Hello, I have a @Configuration class with a number of @Value properties in side of it. I'd like to source the @Value's from a settings file in my home directory, say ...





17. custom user details    forum.springsource.org

custom user details Hi, I'm new in spring security and I got an error in my application context security file: this is my appcontextsecurity file: Code:

18. singleton behavior:every user has different instances?but 1 user has only 1 instance?    forum.springsource.org

singleton behavior:every user has different instances?but 1 user has only 1 instance? I've noticed that my private variable's instance retain inside my service class which is declared as a bean in ...

19. Current user and lazy loaded relations    forum.springsource.org

Hello, How do you manage lazy relations of the User.. Is it possible to make spring security load user on every request.. Let's say, The user has a collection of profiles ...

20. Spring Security User Object Caching    forum.springsource.org

Spring Security User Object Caching Hi, I am new to spring security and we are using PreAuthenticatedAuthenticationProvider as we are using siteminder for authentication. The configuration etc is as follows Code: ...

21. Can we manage spring security in same project by two separate user entities?    forum.springsource.org

Can we manage spring security in same project by two separate user entities? Hi All, Its my first project with spring security2. I am to develop an application(project) which will have ...

22. Retrieve all users from user service    forum.springsource.org

Retrieve all users from user service Hi, I'm new to spring security, running it with gwt. I have it running using the default user-service. Everything works fine, but I'm trying to ...

23. Authenticating newly created users    forum.springsource.org

Authenticating newly created users I've got Spring Security 3.0 wired in and working. Works great for authenticating existing users. However, when a new user is created, how can I invoke the ...

24. dynamically create user in spring security    forum.springsource.org

Is it possible to create a role dynamically and assign which page this role access and use this role in spring security. The client does not know before hand which user ...

25. Spring Security Default User    forum.springsource.org

Hi Rooples Can anyone tell me where I can find the default user id "admin" password "admin" in Roo when "security setup" is run? In applicationContext-security.xml, I switched the authentication provider ...

26. Loading user specific data    forum.springsource.org

Loading user specific data I'm sure this has been answered before but I've been searching for a while and struggling to find a good example of how to load user specific ...

27. New user, basic questions    forum.springsource.org

New user, basic questions Hi I'm experimenting with SI and messaging between two applications. In Application A I have configured a Gateway to get message onto the bus from my application. ...

28. Random Salt for Every User    forum.springsource.org

Random Salt for Every User I would like for every user account in my application to have his or her own salt. That is, is my users table, I would like ...

29. User managment in spring security    forum.springsource.org

User managment in spring security I configured spring security and I am able to login using user credentials. But I want to create a user management interface and I am thinking ...

30. Setting locale from user preferences    forum.springsource.org

Setting locale from user preferences Is there a way to assign the locale at login time according to a user's stored preference in a database? I'm trying to add a feature ...

31. user-defined function possible in HQL order-by clause ?    forum.springsource.org

user-defined function possible in HQL order-by clause ? We have a "Family" Hibernate Entity. This entity has(among others) 4 booleans properties. When retrieving the Families from the Postgres 8.4 DB, it ...

32. Switch User - previous user    forum.springsource.org

Hello there, I got the switch user working on my application (company's intranet) and i would like to know if there is a way to find the user that was logged ...

33. Saving the the initiated user details of a job    forum.springsource.org

Hi All, Is there any option to know who initiated a particular job? By looking at the schema provided, there is no column to save the triggered user details. Only initiated ...

34. Run as other user    forum.springsource.org

Hi, I work with Spring Security and Spring RCP, my services are exported by httpinvoker. I want to run as other user. I had a look at RunAs Manager and SwitchUser ...

35. Problem getting online users.    forum.springsource.org

Problem getting online users. Hi all, I am learning how get my webapp online users. But I am doing some bad... PD: When i debugged "sessionCreated" method of "SessionListener" class, (OnlineUsers) ...

36. Different content for authorized and anonymous users    forum.springsource.org

Different content for authorized and anonymous users I have a method that needs to check the credentials of the user, and provide a result. This method should be accessible to unauthenticated ...

37. user lacks privilege or object not found    forum.springsource.org

Nov 17th, 2010, 01:37 PM #1 thehl View Profile View Forum Posts Private Message Senior Member Join Date Aug 2006 Posts 215 user lacks privilege or object not found We are ...

38. Rednering different views based on user-agent    forum.springsource.org

I'm current using a InternalResourceViewResolver to resolve JSP's like So normally mu views look like: index.jsp /user/show.jsp Now based on the user-agent (e.g. for iPhone) ...

39. User Interface?    forum.springsource.org

I have an entity layer. I have a GWT scaffold. I have a UiBinder UI written. And, I'm totally at a loss as to how I should go about combining everything ...

40. Configuring object with per user info    forum.springsource.org

Configuring object with per user info Hi, I haven't tried to do this yet, but does anybody know the correct idiom for doing the following. Normally when I make a data ...