@ReturnValuesAreNonnullByDefault @ParametersAreNonnullByDefault public class ConfluenceAsapSubjectImpersonator extends Object implements com.atlassian.sal.api.auth.AsapSubjectImpersonator
Modifier and Type | Method and Description |
---|---|
boolean |
isSubjectImpersonationSupported() |
Optional<com.atlassian.sal.api.user.UserProfile> |
resolveAsapSubject(String subject) |
Optional<com.atlassian.sal.api.user.UserProfile> |
setCurrentUser(Optional<com.atlassian.sal.api.user.UserProfile> targetUser) |
public boolean isSubjectImpersonationSupported()
isSubjectImpersonationSupported
in interface com.atlassian.sal.api.auth.AsapSubjectImpersonator
public Optional<com.atlassian.sal.api.user.UserProfile> resolveAsapSubject(String subject)
resolveAsapSubject
in interface com.atlassian.sal.api.auth.AsapSubjectImpersonator
Copyright © 2003–2017 Atlassian. All rights reserved.