Package swiss.trustbroker.oidc
Class CustomJwtEncoder
java.lang.Object
swiss.trustbroker.oidc.CustomJwtEncoder
- All Implemented Interfaces:
org.springframework.security.oauth2.jwt.JwtEncoder
public class CustomJwtEncoder
extends Object
implements org.springframework.security.oauth2.jwt.JwtEncoder
-
Constructor Summary
ConstructorsConstructorDescriptionCustomJwtEncoder(TrustBrokerProperties properties, RelyingPartyDefinitions relyingPartyDefinitions, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> jwkSource, OidcEncryptionKeystoreService encryptionKeystoreService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.jwt.Jwtencode(org.springframework.security.oauth2.jwt.JwtEncoderParameters parameters)
-
Constructor Details
-
CustomJwtEncoder
public CustomJwtEncoder(TrustBrokerProperties properties, RelyingPartyDefinitions relyingPartyDefinitions, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> jwkSource, OidcEncryptionKeystoreService encryptionKeystoreService)
-
-
Method Details
-
encode
public org.springframework.security.oauth2.jwt.Jwt encode(org.springframework.security.oauth2.jwt.JwtEncoderParameters parameters) throws org.springframework.security.oauth2.jwt.JwtEncodingException - Specified by:
encodein interfaceorg.springframework.security.oauth2.jwt.JwtEncoder- Throws:
org.springframework.security.oauth2.jwt.JwtEncodingException
-