public final class UserContextHolder extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.security.core.Authentication |
getPrincipal()
Returns the principal registered by the security manager for the current thread.
|
static String |
getUsername()
Returns the username registered by the security manager for the current thread.
|
public static org.springframework.security.core.Authentication getPrincipal()
public static String getUsername()
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.