Class AuthContextUtils
java.lang.Object
org.apache.syncope.core.spring.security.AuthContextUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
static <T> T
callAsAdmin
(String domain, Callable<T> callable) static Set
<SyncopeGrantedAuthority> static String
static String
static String
getWho()
static void
runAsAdmin
(String domain, Runnable runnable) static void
updateUsername
(String newUsername)
-
Method Details
-
getUsername
-
updateUsername
-
getDelegatedBy
-
getWho
-
getAuthorities
-
getAuthorizations
-
getDomain
-
callAs
public static <T> T callAs(String domain, String username, Collection<String> entitlements, Callable<T> callable) -
callAsAdmin
-
runAsAdmin
-