mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-29 15:22:15 +00:00
Fix bug as reported by Jared Odulio on acegisecurity-developer 29 July 2005.
This commit is contained in:
parent
6dcf6b9456
commit
2d772cbfcc
@ -4,7 +4,7 @@
|
|||||||
<%@ page import="net.sf.acegisecurity.adapters.AuthByAdapter" %>
|
<%@ page import="net.sf.acegisecurity.adapters.AuthByAdapter" %>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
Authentication auth = SecurityContextHolder.getAuthentication();
|
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
|
||||||
if (auth != null) { %>
|
if (auth != null) { %>
|
||||||
Authentication object is of type: <%= auth.getClass().getName() %><BR><BR>
|
Authentication object is of type: <%= auth.getClass().getName() %><BR><BR>
|
||||||
Authentication object as a String: <%= auth.toString() %><BR><BR>
|
Authentication object as a String: <%= auth.toString() %><BR><BR>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user