Interface ISecurityRealmMechanics
public interface ISecurityRealmMechanics
Class ISecurityRealmMechanics
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetPolicyProvider
(IThingID securityRealm) Returns an instance of Policy Provider for the given security realm.getPolicyProviderConfigID
(IThingID securityRealm) Returns an instance of configuration object for the policy provider (ID of the DBO that implements Policy provider) for the security realmgetXTypeID
(IThingID securityRealm) Returns target xtypeID for this security realm or null
-
Field Details
-
POLICY_PROVIDER_TYPE_CONTAINER
Alias to a container where all registered policy provider types are stored- See Also:
-
POLICY_PROVIDER_STORAGE_CONTAINER
Alias to a container where to store configuration objects for external policy providers- See Also:
-
-
Method Details
-
getPolicyProvider
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
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
Returns target xtypeID for this security realm or null- Parameters:
securityRealm
-- Returns:
- Throws:
PortalException
-