|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermissionManager
Interface for managing permissions. It can perform creation, deletion and searching of permissions.
Method Summary | |
---|---|
CentraSitePermission |
createPermission()
Create a new instance of non-system level CentraSitePermission . |
CentraSitePermission |
createPermission(boolean systemLevel)
Create a new instance of CentraSitePermission . |
void |
deletePermission(CentraSitePermission permission)
Delete specified permission. |
CentraSitePermission |
getPermission(javax.xml.registry.infomodel.RegistryObject permissionRegistryObject)
Utility method to obtain CentraSitePermission instance of RegistryObject of type "Permission". |
CentraSitePermission |
getPermission(java.lang.String permissionId)
Get the permission corresponding to the specified permission identity. |
CentraSitePermission |
getPermission(java.lang.String permissionId,
javax.xml.registry.infomodel.Organization organization)
Get the permission corresponding to the specified permission identity applicable to the specified organization. |
java.util.Collection<CentraSitePermission> |
getPermissions(javax.xml.registry.infomodel.Organization organization)
Get all the permissions for a given Organization. |
java.util.Collection<CentraSitePermission> |
getPermissions(java.lang.String filter)
Get the permissions using the specified search filter. |
java.util.Collection<CentraSitePermission> |
getPermissionsEx(javax.xml.registry.infomodel.Organization organization)
Get all the permissions for a given Organization. |
java.util.Collection<CentraSitePermission> |
getPermissionsEx(java.lang.String filter)
Get the permissions using the specified search filter. |
Methods inherited from interface com.centrasite.resourceaccess.managers.ResourceManager |
---|
delete, save |
Method Detail |
---|
CentraSitePermission createPermission() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
CentraSitePermission
.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSitePermission createPermission(boolean systemLevel) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
CentraSitePermission
.
systemLevel
- Set to true when creating a system level permission.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid deletePermission(CentraSitePermission permission) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSitePermission getPermission(java.lang.String permissionId) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSitePermission getPermission(java.lang.String permissionId, javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSitePermission> getPermissions(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
filter
- search filter - if filter is empty string then no filtering occurs
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSitePermission> getPermissionsEx(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
filter
- search filter - if filter is empty string then no filtering occurs
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSitePermission> getPermissions(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
organization
- to use in search
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSitePermission> getPermissionsEx(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
organization
- to use in search
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSitePermission getPermission(javax.xml.registry.infomodel.RegistryObject permissionRegistryObject) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
CentraSitePermission
instance of RegistryObject
of type "Permission".
permissionRegistryObject
- The role RegistryObject
.
CentraSiteRole
instance
javax.xml.registry.JAXRException
- if a JAXR error occurs
java.lang.IllegalArgumentException
- If permissionRegistryObject is not of Permission type.
com.softwareag.security.jaas.principals.SagGeneralSecurityException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |