Class JwtSigningRestTemplateFactory
- java.lang.Object
-
- com.atlassian.connect.spring.internal.request.jwt.JwtSigningRestTemplateFactory
-
@Component public class JwtSigningRestTemplateFactory extends Object
A provider of aRestTemplate
that signs requests to Atlassian hosts with JSON Web Tokens.
-
-
Constructor Summary
Constructors Constructor Description JwtSigningRestTemplateFactory(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder, JwtGenerator jwtGenerator, AtlassianHostUriResolver hostUriResolver, AtlassianConnectSecurityContextHelper securityContextHelper, UserAgentProvider userAgentProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.client.RestTemplate
getJwtRestTemplate()
org.springframework.web.client.RestTemplate
getJwtRestTemplate(AtlassianHost host)
-
-
-
Constructor Detail
-
JwtSigningRestTemplateFactory
@Autowired public JwtSigningRestTemplateFactory(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder, JwtGenerator jwtGenerator, AtlassianHostUriResolver hostUriResolver, AtlassianConnectSecurityContextHelper securityContextHelper, UserAgentProvider userAgentProvider)
-
-
Method Detail
-
getJwtRestTemplate
public org.springframework.web.client.RestTemplate getJwtRestTemplate()
-
getJwtRestTemplate
public org.springframework.web.client.RestTemplate getJwtRestTemplate(AtlassianHost host)
-
-