Class XsuaaJwtDecoder
java.lang.Object
com.sap.cloud.security.xsuaa.token.authentication.XsuaaJwtDecoder
- All Implemented Interfaces:
org.springframework.security.oauth2.jwt.JwtDecoder
public class XsuaaJwtDecoder
extends Object
implements org.springframework.security.oauth2.jwt.JwtDecoder
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.jwt.Jwt
void
setRestOperations
(org.springframework.web.client.RestOperations restOperations) void
setTokenInfoExtractor
(TokenInfoExtractor tokenInfoExtractor)
-
Method Details
-
decode
public org.springframework.security.oauth2.jwt.Jwt decode(String token) throws org.springframework.security.oauth2.jwt.BadJwtException - Specified by:
decode
in interfaceorg.springframework.security.oauth2.jwt.JwtDecoder
- Throws:
org.springframework.security.oauth2.jwt.BadJwtException
-
setTokenInfoExtractor
-
setRestOperations
public void setRestOperations(org.springframework.web.client.RestOperations restOperations)
-