Package org.forgerock.http.oauth2
Class EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder
- java.lang.Object
-
- org.forgerock.http.oauth2.PrivateKeyJwtClientAuthenticationFilter.Builder<EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder>
-
- org.forgerock.http.oauth2.EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder
-
- Enclosing class:
- EncryptedPrivateKeyJwtClientAuthenticationFilter
public static class EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder extends PrivateKeyJwtClientAuthenticationFilter.Builder<EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder>
Builder class for creating the Encrypted PrivateKey Jwt ClientAuthentication Filter.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedPrivateKeyJwtClientAuthenticationFilter
build()
Builds the EncryptedPrivateKeyAuthFilter instance.String
toString()
EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder
withEncryptionAlgorithm(JweAlgorithm encryptionAlgorithm)
Sets algorithm used to encrypt the private key jwt.EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder
withEncryptionMethod(EncryptionMethod encryptionMethod)
Sets encryption method used to encrypt the private key jwt.EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder
withEncryptionPurpose(Purpose<DataEncryptionKey> encryptionPurpose)
Sets the purpose to look up the encryption key to encrypt private key jwt.-
Methods inherited from class org.forgerock.http.oauth2.PrivateKeyJwtClientAuthenticationFilter.Builder
self, withClientId, withClock, withPrivateKeyJwtExpiryTime, withSecretsProvider, withSigningAlgorithm, withSigningPurpose, withTokenEndpoint
-
-
-
-
Method Detail
-
withEncryptionPurpose
public EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder withEncryptionPurpose(Purpose<DataEncryptionKey> encryptionPurpose)
Sets the purpose to look up the encryption key to encrypt private key jwt.- Parameters:
encryptionPurpose
- The purpose to look up the encryption key to encrypt private key jwt.- Returns:
- The builder.
-
withEncryptionAlgorithm
public EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder withEncryptionAlgorithm(JweAlgorithm encryptionAlgorithm)
Sets algorithm used to encrypt the private key jwt.- Parameters:
encryptionAlgorithm
- The algorithm used to encrypt the private key jwt.- Returns:
- The builder.
-
withEncryptionMethod
public EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder withEncryptionMethod(EncryptionMethod encryptionMethod)
Sets encryption method used to encrypt the private key jwt.- Parameters:
encryptionMethod
- The encryption method used to encrypt the private key jwt.- Returns:
- The builder.
-
build
public EncryptedPrivateKeyJwtClientAuthenticationFilter build()
Builds the EncryptedPrivateKeyAuthFilter instance.- Overrides:
build
in classPrivateKeyJwtClientAuthenticationFilter.Builder<EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder>
- Returns:
- The EncryptedPrivateKeyAuthFilter.
-
toString
public String toString()
-
-