Package org.apache.syncope.core.logic
Class SAML2SP4UIIdPLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
-
- org.apache.syncope.core.logic.SAML2SP4UIIdPLogic
-
public class SAML2SP4UIIdPLogic extends AbstractTransactionalLogic<EntityTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected SAML2SP4UIIdPDataBinderbinderprotected SAML2SP4UIIdPDAOidpDAOprotected SAML2SP4UIPropertiespropsprotected ResourcePatternResolverresourceResolverprotected SAML2ClientCachesaml2ClientCacheLoginprotected SAML2ClientCachesaml2ClientCacheLogout-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description SAML2SP4UIIdPLogic(SAML2SP4UIProperties props, ResourcePatternResolver resourceResolver, SAML2ClientCache saml2ClientCacheLogin, SAML2ClientCache saml2ClientCacheLogout, SAML2SP4UIIdPDataBinder binder, SAML2SP4UIIdPDAO idpDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String key)StringimportFromMetadata(InputStream input)List<SAML2SP4UIIdPTO>list()protected org.pac4j.saml.config.SAML2ConfigurationnewSAML2Configuration()SAML2SP4UIIdPTOread(String key)protected SAML2SP4UIIdPTOresolveReference(Method method, Object... args)voidupdate(SAML2SP4UIIdPTO saml2IdpTO)-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
saml2ClientCacheLogin
protected final SAML2ClientCache saml2ClientCacheLogin
-
saml2ClientCacheLogout
protected final SAML2ClientCache saml2ClientCacheLogout
-
binder
protected final SAML2SP4UIIdPDataBinder binder
-
idpDAO
protected final SAML2SP4UIIdPDAO idpDAO
-
props
protected final SAML2SP4UIProperties props
-
resourceResolver
protected final ResourcePatternResolver resourceResolver
-
-
Constructor Detail
-
SAML2SP4UIIdPLogic
public SAML2SP4UIIdPLogic(SAML2SP4UIProperties props, ResourcePatternResolver resourceResolver, SAML2ClientCache saml2ClientCacheLogin, SAML2ClientCache saml2ClientCacheLogout, SAML2SP4UIIdPDataBinder binder, SAML2SP4UIIdPDAO idpDAO)
-
-
Method Detail
-
list
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public List<SAML2SP4UIIdPTO> list()
-
read
@PreAuthorize("hasRole(\'IDP_READ\')") @Transactional(readOnly=true) public SAML2SP4UIIdPTO read(String key)
-
importFromMetadata
@PreAuthorize("hasRole(\'IDP_IMPORT\')") public String importFromMetadata(InputStream input)
-
update
@PreAuthorize("hasRole(\'IDP_UPDATE\')") public void update(SAML2SP4UIIdPTO saml2IdpTO)
-
delete
@PreAuthorize("hasRole(\'IDP_DELETE\')") public void delete(String key)
-
resolveReference
protected SAML2SP4UIIdPTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReferencein classAbstractLogic<EntityTO>- Throws:
UnresolvedReferenceException
-
newSAML2Configuration
protected org.pac4j.saml.config.SAML2Configuration newSAML2Configuration()
-
-