Class AbstractConnectAuthenticationProvider

  • All Implemented Interfaces:
    org.springframework.security.authentication.AuthenticationProvider
    Direct Known Subclasses:
    AsymmetricAuthenticationProvider, JwtAuthenticationProvider

    public abstract class AbstractConnectAuthenticationProvider
    extends Object
    implements org.springframework.security.authentication.AuthenticationProvider
    Base AuthenticationProvider class for JWT authentication
    • Method Detail

      • createHostUserFromSubjectClaim

        protected AtlassianHostUser createHostUserFromSubjectClaim​(AtlassianHost host,
                                                                   com.nimbusds.jwt.JWTClaimsSet verifiedClaims)
      • computeQueryStringHash

        protected String computeQueryStringHash​(JwtCredentials jwtCredentials)
      • getHostClientKeyFromSelfAuthenticationToken

        protected Optional<String> getHostClientKeyFromSelfAuthenticationToken​(com.nimbusds.jwt.JWTClaimsSet unverifiedClaims)
      • getHost

        protected AtlassianHost getHost​(String clientKey)
                                 throws org.springframework.security.core.AuthenticationException
        Throws:
        org.springframework.security.core.AuthenticationException