public final class AuthContextUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AuthContextUtils.Executable<T> |
Modifier and Type | Method and Description |
---|---|
static <T> T |
execWithAuthContext(String domain,
AuthContextUtils.Executable<T> executable) |
static Set<SyncopeGrantedAuthority> |
getAuthorities() |
static Map<String,Set<String>> |
getAuthorizations() |
static Optional<String> |
getDelegatedBy() |
static String |
getDomain() |
static String |
getUsername() |
static String |
getWho() |
static void |
updateUsername(String newUsername) |
public static String getUsername()
public static void updateUsername(String newUsername)
public static String getWho()
public static Set<SyncopeGrantedAuthority> getAuthorities()
public static String getDomain()
public static <T> T execWithAuthContext(String domain, AuthContextUtils.Executable<T> executable)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.