Class SeraphTrustedApplicationUserResolver
- java.lang.Object
-
- com.atlassian.confluence.security.trust.seraph.SeraphTrustedApplicationUserResolver
-
- All Implemented Interfaces:
com.atlassian.security.auth.trustedapps.UserResolver
public class SeraphTrustedApplicationUserResolver extends Object implements com.atlassian.security.auth.trustedapps.UserResolver
AUserResolver
is used by theTrustedApplicationsFilter
to find a user based on the application certificate. This implementation delegates to the current usermanager being used by Confluence.
-
-
Constructor Summary
Constructors Constructor Description SeraphTrustedApplicationUserResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Principal
resolve(com.atlassian.security.auth.trustedapps.ApplicationCertificate applicationCertificate)
resolves the application certificate into a valid user object if one is found.void
setUserManager(com.atlassian.user.UserManager userManager)
-
-
-
Method Detail
-
setUserManager
public void setUserManager(com.atlassian.user.UserManager userManager)
-
resolve
public Principal resolve(com.atlassian.security.auth.trustedapps.ApplicationCertificate applicationCertificate)
resolves the application certificate into a valid user object if one is found.- Specified by:
resolve
in interfacecom.atlassian.security.auth.trustedapps.UserResolver
- Returns:
- the user object or null if none is found (or an error occured while looking one up)
-
-