com.atlassian.confluence.security.trust.seraph
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 java.lang.Object
- implements com.atlassian.security.auth.trustedapps.UserResolver
A UserResolver
is used by the TrustedApplicationsFilter
to find
a user based on the application certificate. This implementation delegates to the current usermanager being
used by Confluence.
Method Summary |
java.security.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeraphTrustedApplicationUserResolver
public SeraphTrustedApplicationUserResolver()
setUserManager
public void setUserManager(com.atlassian.user.UserManager userManager)
resolve
public java.security.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 interface com.atlassian.security.auth.trustedapps.UserResolver
- Returns:
- the user object or null if none is found (or an error occured while looking one up)
Copyright © 2003-2014 Atlassian. All Rights Reserved.