public class SpringSecurity extends Object
| Constructor and Description |
|---|
SpringSecurity() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearSwitchedIdp() |
static void |
ensureAccess(IdentityProvider idp) |
static CoinUser |
getCurrentUser()
Get the currently logged in user from the security context.
|
static boolean |
isFullyAuthenticated() |
static void |
setSwitchedToIdp(IdentityProvider idp,
String role) |
static IdentityProvider |
validateIdp(IdentityProvider idp) |
public static CoinUser getCurrentUser()
SecurityException - in case no principal is found.public static boolean isFullyAuthenticated()
public static void ensureAccess(IdentityProvider idp)
public static void clearSwitchedIdp()
public static void setSwitchedToIdp(IdentityProvider idp, String role)
public static IdentityProvider validateIdp(IdentityProvider idp)
Copyright © 2012–2017 Pivotal Software, Inc.. All rights reserved.