public class SecurityTemplate
extends java.lang.Object
| Constructor and Description |
|---|
SecurityTemplate() |
| Modifier and Type | Method and Description |
|---|---|
static void |
restoreAuthentication(org.springframework.security.core.Authentication origAuthentication) |
static org.springframework.security.core.Authentication |
setAuthentication(org.springframework.security.core.Authentication authentication) |
static org.springframework.security.core.Authentication |
setCredentials(java.lang.String username,
java.lang.String password) |
public static org.springframework.security.core.Authentication setCredentials(java.lang.String username,
java.lang.String password)
public static org.springframework.security.core.Authentication setAuthentication(org.springframework.security.core.Authentication authentication)
public static void restoreAuthentication(org.springframework.security.core.Authentication origAuthentication)