public class SpringSecurity extends Object
| Constructor and Description |
|---|
SpringSecurity() |
| Modifier and Type | Method and Description |
|---|---|
static CoinUser |
getCurrentUser()
Get the currently logged in user from the security context.
|
static nl.surfnet.coin.csa.model.InstitutionIdentityProvider |
getImpersonatedIdentityProvider() |
static boolean |
isFullyAuthenticated() |
static void |
setImpersonatedIdentityProvider(nl.surfnet.coin.csa.model.InstitutionIdentityProvider impersonatedIdentityProvider) |
public static CoinUser getCurrentUser()
SecurityException - in case no principal is found.public static boolean isFullyAuthenticated()
public static nl.surfnet.coin.csa.model.InstitutionIdentityProvider getImpersonatedIdentityProvider()
public static void setImpersonatedIdentityProvider(nl.surfnet.coin.csa.model.InstitutionIdentityProvider impersonatedIdentityProvider)
Copyright © 2012–2014 SURFnet bv, The Netherlands. All rights reserved.