eu.emi.emir.security
Interface IServerSecurityConfiguration

All Superinterfaces:
eu.unicore.security.canl.IAuthnAndTrustConfiguration
All Known Implementing Classes:
DefaultServerSecurityConfiguration, ServerSecurityProperties

public interface IServerSecurityConfiguration
extends eu.unicore.security.canl.IAuthnAndTrustConfiguration

Author:
a.memon

Method Summary
 String getACLConfigurationFile()
           
 IAttributeSource getAip()
           
 RegistryPDP getPdp()
           
 String getPdpConfigurationFile()
           
 boolean isAccessControlEnabled(String service)
           
 boolean isACLAccessControlEnabled()
           
 boolean isSslEnabled()
          Returns true if SSL mode is enabled.
 boolean isXACMLAccessControlEnabled()
           
 
Methods inherited from interface eu.unicore.security.canl.IAuthnAndTrustConfiguration
getCredential, getValidator
 

Method Detail

isSslEnabled

boolean isSslEnabled()
Returns true if SSL mode is enabled.


isXACMLAccessControlEnabled

boolean isXACMLAccessControlEnabled()
Returns:
do we check access on the web service level (using PDP)?

isACLAccessControlEnabled

boolean isACLAccessControlEnabled()
Returns:
do we check access on the web service level (using plain ACL file)?

isAccessControlEnabled

boolean isAccessControlEnabled(String service)
Returns:
do we check access on the web service level (using PDP) for a particular service?

getPdp

RegistryPDP getPdp()
Returns:
the configured PDP instance, null can be returned only if isXACMLAccessControlEnabled() returns false

getPdpConfigurationFile

String getPdpConfigurationFile()
Returns:
the PDP configuration file path

getACLConfigurationFile

String getACLConfigurationFile()
Returns:
the ACL configuration file path

getAip

IAttributeSource getAip()
Returns:
the configured attribute source instance


Copyright © 2012. All Rights Reserved.