Package org.apache.syncope.core.logic
Class OIDCJWKSLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<OIDCJWKSTO>
-
- org.apache.syncope.core.logic.OIDCJWKSLogic
-
public class OIDCJWKSLogic extends AbstractTransactionalLogic<OIDCJWKSTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected OIDCJWKSDataBinder
binder
protected OIDCJWKSDAO
dao
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description OIDCJWKSLogic(OIDCJWKSDataBinder binder, OIDCJWKSDAO dao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
OIDCJWKSTO
generate(String jwksKeyId, String jwksType, int jwksKeySize)
OIDCJWKSTO
get()
protected OIDCJWKSTO
resolveReference(Method method, Object... args)
OIDCJWKSTO
set(OIDCJWKSTO entityTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final OIDCJWKSDataBinder binder
-
dao
protected final OIDCJWKSDAO dao
-
-
Constructor Detail
-
OIDCJWKSLogic
public OIDCJWKSLogic(OIDCJWKSDataBinder binder, OIDCJWKSDAO dao)
-
-
Method Detail
-
get
@PreAuthorize("hasRole(\'OIDC_JWKS_READ\') or hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public OIDCJWKSTO get()
-
generate
@PreAuthorize("hasRole(\'OIDC_JWKS_GENERATE\') or hasRole(\'ANONYMOUS\')") public OIDCJWKSTO generate(String jwksKeyId, String jwksType, int jwksKeySize)
-
delete
@PreAuthorize("hasRole(\'OIDC_JWKS_DELETE\')") public void delete()
-
resolveReference
protected OIDCJWKSTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<OIDCJWKSTO>
- Throws:
UnresolvedReferenceException
-
set
@PreAuthorize("hasRole(\'OIDC_JWKS_SET\') or hasRole(\'ANONYMOUS\')") public OIDCJWKSTO set(OIDCJWKSTO entityTO)
-
-