Interface ISecurityRealmMechanics


public interface ISecurityRealmMechanics
Class ISecurityRealmMechanics
  • Field Details

    • POLICY_PROVIDER_TYPE_CONTAINER

      static final String POLICY_PROVIDER_TYPE_CONTAINER
      Alias to a container where all registered policy provider types are stored
      See Also:
    • POLICY_PROVIDER_STORAGE_CONTAINER

      static final String POLICY_PROVIDER_STORAGE_CONTAINER
      Alias to a container where to store configuration objects for external policy providers
      See Also:
  • Method Details

    • getPolicyProvider

      IPolicyProvider getPolicyProvider(IThingID securityRealm) throws PortalException
      Returns an instance of Policy Provider for the given security realm. When called for the first time it will create an instance of PolicyProvider by calling into newInstance() method
      Parameters:
      securityRealm -
      Returns:
      Throws:
      PortalException
    • getPolicyProviderConfigID

      IThingID getPolicyProviderConfigID(IThingID securityRealm) throws PortalException
      Returns an instance of configuration object for the policy provider (ID of the DBO that implements Policy provider) for the security realm
      Parameters:
      securityRealm -
      Returns:
      Throws:
      PortalException
    • getXTypeID

      IThingID getXTypeID(IThingID securityRealm) throws PortalException
      Returns target xtypeID for this security realm or null
      Parameters:
      securityRealm -
      Returns:
      Throws:
      PortalException