Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.service.policystore
Interface ApplicationPolicy

All Superinterfaces:
JavaPolicy, PolicyMgmt

public interface ApplicationPolicy
extends JavaPolicy, PolicyMgmt

The class represents an application in which entity objects and policies are created.

Since:
release specific (what release of product did this appear in)
Version:
$Header: jazn/jps/src/jps-api/oracle/security/jps/service/policystore/ApplicationPolicy.java /main/37 2010/11/27 23:16:52 jianxliu Exp $

Method Summary
 boolean changedSince(java.util.Date startTime)
          Check if the policy objects of this application have been changed since the specified time - startTime
 AdminManager getAdminManager()
          Returns admin manager instance
 AppRoleManager getAppRoleManager()
          Returns application role manager instance
 long getCurrentPolicyVersion()
          Get current policy version
 java.lang.String getDescription()
          Get the description of this application.
 java.lang.String getDisplayName()
          Get the display name of this application.
 ExtensionManager getExtensionManager()
          Returns extension manager instance
 java.lang.String getName()
          Get the name of this application.
 PermissionSetManager getPermissionSetManager()
          Returns the PermissionSet Manager.
 PolicyDistributionManager getPolicyDistributionManager()
          Gets an instance of policy distribution manager
 PolicyDomainManager getPolicyDomainManager()
          Returns policy domain manager instance
 PolicyManager getPolicyManager()
          Returns the Policy Manager.
 ResourceManager getResourceManager()
          Returns Resource Manager
 ResourceTypeManager getResourceTypeManager()
          Returns resource type manager instance
 RoleCategoryManager getRoleCategoryManager()
          Returns the RoleCategory Manager.
 RolePolicyManager getRolePolicyManager()
          Returns the RolePolicy Manager.
 java.lang.String getUniqueName()
          Get the unique name of this application.
 java.lang.String getVersion()
          Returns the application version.
 void setDescription(java.lang.String description)
          Set the description of this application.
 void setDisplayName(java.lang.String displayName)
          Set the display name of this application.
 void setVersion(java.lang.String version)
          Set the application version in memory.

 

Methods inherited from interface oracle.security.jps.jaas.JavaPolicy
getPermissions, getPermissions, getPermissions, getPermissions, getPermissions, hasPermission, implies, refresh

 

Methods inherited from interface oracle.security.jps.service.policystore.PolicyMgmt
getGrantEntries, grant, grant, modifyGrant, revoke, revoke

 

Method Detail

getName

java.lang.String getName()
Get the name of this application.
Returns:
application name

setVersion

void setVersion(java.lang.String version)
Set the application version in memory.

Supply null to remove the version.

To persist the changes in the store, use PolicyStore.modifyApplicationPolicy(ApplicationPolicy) To prevent multiple threads from updating the version concurrently in the store for the same application, the method PolicyStore.modifyApplicationPolicy(ApplicationPolicy) should be called called immediately after this method.


getVersion

java.lang.String getVersion()
Returns the application version. Will return null if the application version is not available
Returns:
the application version. Will return null if the application version is not available

getUniqueName

java.lang.String getUniqueName()
Get the unique name of this application.
Returns:
application unique name

getDisplayName

java.lang.String getDisplayName()
Get the display name of this application.
Returns:
application display name

getDescription

java.lang.String getDescription()
Get the description of this application.
Returns:
application description

setDisplayName

void setDisplayName(java.lang.String displayName)
Set the display name of this application.

setDescription

void setDescription(java.lang.String description)
Set the description of this application.

getCurrentPolicyVersion

long getCurrentPolicyVersion()
                             throws PolicyStoreException
Get current policy version
Returns:
current policy version
Throws:
PolicyStoreException

changedSince

boolean changedSince(java.util.Date startTime)
                     throws InvalidArgumentException,
                            PolicyStoreException
Check if the policy objects of this application have been changed since the specified time - startTime
Parameters:
startTime - the start time
Returns:
Throws:
InvalidArgumentException
PolicyStoreException

getResourceTypeManager

ResourceTypeManager getResourceTypeManager()
Returns resource type manager instance
Returns:
resourc type manager instance

getAppRoleManager

AppRoleManager getAppRoleManager()
Returns application role manager instance
Returns:
application role manager instance

getExtensionManager

ExtensionManager getExtensionManager()
Returns extension manager instance
Returns:
extension manager instance

getPolicyDomainManager

PolicyDomainManager getPolicyDomainManager()
Returns policy domain manager instance
Returns:
policy domain manager instance

getAdminManager

AdminManager getAdminManager()
Returns admin manager instance
Returns:
admin manager instance

getResourceManager

ResourceManager getResourceManager()
Returns Resource Manager

getPermissionSetManager

PermissionSetManager getPermissionSetManager()
Returns the PermissionSet Manager.

getPolicyManager

PolicyManager getPolicyManager()
Returns the Policy Manager.

getRoleCategoryManager

RoleCategoryManager getRoleCategoryManager()
Returns the RoleCategory Manager.

getRolePolicyManager

RolePolicyManager getRolePolicyManager()
Returns the RolePolicy Manager.

getPolicyDistributionManager

PolicyDistributionManager getPolicyDistributionManager()
Gets an instance of policy distribution manager
Returns:

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.