Package org.apache.syncope.core.logic
Class AuthModuleLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<AuthModuleTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<AuthModuleTO>
org.apache.syncope.core.logic.AuthModuleLogic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AuthModuleDAO
protected final AuthModuleDataBinder
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(AuthModuleTO authModuleTO) list()
protected AuthModule
readByClientName
(String clientName) readSAML2SPConf
(String clientName) protected AuthModuleTO
resolveReference
(Method method, Object... args) void
setSAML2SPKeystore
(String clientName, InputStream keystore) void
setSAML2SPMetadata
(String clientName, InputStream metadata) update
(AuthModuleTO authModuleTO) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
binder
-
authModuleDAO
-
-
Constructor Details
-
AuthModuleLogic
-
-
Method Details
-
create
@PreAuthorize("hasRole(\'AUTH_MODULE_CREATE\')") public AuthModuleTO create(AuthModuleTO authModuleTO) -
update
@PreAuthorize("hasRole(\'AUTH_MODULE_UPDATE\')") public AuthModuleTO update(AuthModuleTO authModuleTO) -
list
@PreAuthorize("hasRole(\'AUTH_MODULE_LIST\') or hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<AuthModuleTO> list() -
read
@PreAuthorize("hasRole(\'AUTH_MODULE_READ\')") @Transactional(readOnly=true) public AuthModuleTO read(String key) -
delete
-
readByClientName
-
readSAML2SPConf
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public SAML2IdPAuthModuleConf readSAML2SPConf(String clientName) -
setSAML2SPKeystore
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void setSAML2SPKeystore(String clientName, InputStream keystore) -
setSAML2SPMetadata
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void setSAML2SPMetadata(String clientName, InputStream metadata) -
resolveReference
protected AuthModuleTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReference
in classAbstractLogic<AuthModuleTO>
- Throws:
UnresolvedReferenceException
-