Class WAOIDCJWKSGeneratorService
- java.lang.Object
-
- org.apache.syncope.wa.starter.oidc.WAOIDCJWKSGeneratorService
-
- All Implemented Interfaces:
org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
public class WAOIDCJWKSGeneratorService extends Object implements org.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
-
-
Field Summary
Fields Modifier and Type Field Description protected String
jwksKeyId
protected int
jwksKeySize
protected String
jwksType
protected static Logger
LOG
protected WARestClient
waRestClient
-
Constructor Summary
Constructors Constructor Description WAOIDCJWKSGeneratorService(WARestClient waRestClient, String jwksKeyId, String jwksType, int jwksKeySize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Resource>
find()
Resource
generate()
org.jose4j.jwk.JsonWebKeySet
store(org.jose4j.jwk.JsonWebKeySet jsonWebKeySet)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
waRestClient
protected final WARestClient waRestClient
-
jwksKeyId
protected final String jwksKeyId
-
jwksType
protected final String jwksType
-
jwksKeySize
protected final int jwksKeySize
-
-
Constructor Detail
-
WAOIDCJWKSGeneratorService
public WAOIDCJWKSGeneratorService(WARestClient waRestClient, String jwksKeyId, String jwksType, int jwksKeySize)
-
-
Method Detail
-
store
public org.jose4j.jwk.JsonWebKeySet store(org.jose4j.jwk.JsonWebKeySet jsonWebKeySet) throws Exception
- Specified by:
store
in interfaceorg.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
- Throws:
Exception
-
find
public Optional<Resource> find()
- Specified by:
find
in interfaceorg.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
-
generate
public Resource generate()
- Specified by:
generate
in interfaceorg.apereo.cas.oidc.jwks.generator.OidcJsonWebKeystoreGeneratorService
-
-