principal « Security « Spring Q&A





1. Spring security accessing principal    stackoverflow.com

When using spring security, specifically with @notation; what is the proper way to access the principal in a Controller? Lets say the following is my controller, but I would like ...

2. Spring Security Principal Incorrectly Persisted    stackoverflow.com

My web application is using Spring Security and everything seems fine except for one thing. Once I authenticate a user in one browser they are always authenticated. If I close ...

3. How to reload Spring Security Principal after updating in Hibernate?    stackoverflow.com

This must be a common issue... and I feel that after googling, and SOing I must have just not looked around thoroughly for the answer enough or that no1 has asked ...

4. Getting "Principal required as per interface" during authentication    forum.springsource.org

Feb 20th, 2011, 04:48 AM #1 mhchai View Profile View Forum Posts Private Message Junior Member Join Date Feb 2011 Posts 2 Getting "Principal required as per interface" during authentication Spring ...

5. Spring Security Principal Incorrectly Persisted    forum.springsource.org

Spring Security Principal Incorrectly Persisted Hello, My web application is using Spring Security and everything seems fine except for one thing. Once I authenticate a user in one browser they are ...

6. security-web: possible reauthentication & session invalidation for same principal?    forum.springsource.org

org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java: The check !currentUser.getName().equals(principal) does not seem right as it is comparing a String to an Object, so principal change will be indicated and acted upon for any returned principal Object ...

7. Access Principal from POJO    forum.springsource.org

I need access to Principal in my Service (implemented as a POJO). I would use 'EJBContext.getCallerPrincipal()' in the EJB....but how can i get access to the principle in a POJO? Can ...

8. Security: Principal on the server side    forum.springsource.org

Did any body try to get Principal (user name) on the server side? I am getting Context null. I want to know what was the design idea: should client pass to ...

9. WS-Security Support: Authenticated Principal?    forum.springsource.org

Spring-WS does not have authorization capabilities of its own, but it does integrate with Acegi to do so. Check the airline sample to see how that works.





10. Stateful Services and storing with User Principal    forum.springsource.org

Stateful Services and storing with User Principal Hi I am currently working with a legacy system and trying to migrate it to Spring and Spring Security. The system has a legacy ...

11. Privacy concern: sec:authentication reveals another principal to unauthenticated user    forum.springsource.org

Privacy concern: sec:authentication reveals another principal to unauthenticated user I've noticed an issue where the sec:authentication JSP tag reveals the name of another principal to an unauthenticated user... * Using Spring ...

12. How to inject authenticated user??? (Authentication / Principal object)    forum.springsource.org

Hi there, I'm currently accessing the authenticated user using the following code: Code: SecurityContextHolder.getContext().getAuthentication() But this ties my code to Spring Security API, and creates problems for dependency injection in test ...

13. Is it possible to change the principal object role in runtime?    forum.springsource.org

Is it possible to change the principal object role in runtime? I've one question which I can not find an answer nor solution. First of all is it possible to change ...