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 SAML2SP4UIIdPDataBinder
binder
protected SAML2SP4UIIdPDAO
idpDAO
protected SAML2SP4UIProperties
props
protected ResourcePatternResolver
resourceResolver
protected SAML2ClientCache
saml2ClientCacheLogin
protected SAML2ClientCache
saml2ClientCacheLogout
-
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 void
delete(String key)
String
importFromMetadata(InputStream input)
List<SAML2SP4UIIdPTO>
list()
protected org.pac4j.saml.config.SAML2Configuration
newSAML2Configuration()
SAML2SP4UIIdPTO
read(String key)
protected SAML2SP4UIIdPTO
resolveReference(Method method, Object... args)
void
update(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:
resolveReference
in classAbstractLogic<EntityTO>
- Throws:
UnresolvedReferenceException
-
newSAML2Configuration
protected org.pac4j.saml.config.SAML2Configuration newSAML2Configuration()
-
-