Class SeraphTrustedApplicationUserResolver

  • All Implemented Interfaces:
    com.atlassian.security.auth.trustedapps.UserResolver

    public class SeraphTrustedApplicationUserResolver
    extends 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.
    • Constructor Detail

      • SeraphTrustedApplicationUserResolver

        public SeraphTrustedApplicationUserResolver()
    • 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 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)