|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") @BinaryCompatibilityOnly public interface AuthorizationBaseInterface
AuthorizationBase provides authorization methods common to protected Object and ACT definition usage.
| Method Summary | |
|---|---|
abstract void |
commit()
Commit Authorization Changes Any pending Authorization changes will be committed on the Server. |
abstract void |
discard()
Discard Authorization Changes Any pending Authorization changes will be discarded on the Server. |
abstract java.util.List<java.lang.String> |
getApplicablePermissions()
Obtains permissions applicable to the object according to its PublicType Note that for ACT definition the entire list of available permissions is returned |
abstract AuthorizationInfoInterface |
getAuthorizations(IdentityInterface identity,
java.util.List<java.lang.String> permissions)
Get authorizations for a single identity |
abstract java.util.List<AuthorizationInfoInterface> |
getAuthorizations(java.util.List<IdentityInterface> identities,
java.util.List<java.lang.String> permissions)
Get authorizations for multiple identities |
abstract java.util.List<AuthorizationInfoInterface> |
getAuthorizationsAll()
Get all authorizations |
abstract AuthorizationExplainedInfoInterface |
getAuthorizationsExplained(IdentityInterface identity,
java.util.List<java.lang.String> permissions)
Get authorization sources explained for a single identity. |
abstract java.util.List<AuthorizationExplainedInfoInterface> |
getAuthorizationsExplained(java.util.List<IdentityInterface> identities,
java.util.List<java.lang.String> permissions)
Get authorization sources explained for a list of identities. |
abstract java.util.List<AuthorizationExplainedInfoInterface> |
getAuthorizationsExplainedAll()
Get authorization sources explained for all identities and permissions. |
abstract boolean |
getCommitOnUpdate()
Obtains Commit with Object Store boolean indicator |
abstract java.util.List<com.sas.services.information.metadata.AuthorizationIdentityInfoInterface> |
getIdentityInfo()
Returns authorization identity info corresponding to permissions on an object |
abstract void |
setAuthorizations(IdentityInterface identity,
java.util.List<PermissionInfoInterface> permissionInfoList)
Set permission(s) for a single identity |
abstract void |
setAuthorizations(java.util.List<AuthorizationInfoInterface> authorizations)
Set permissions for multiple identities |
abstract void |
setCommitOnUpdate(boolean commitWithStore)
Set Commit with Object Store boolean indicator |
| Method Detail |
|---|
boolean getCommitOnUpdate()
throws ServiceException,
java.rmi.RemoteException
com.sas.metadata.remote.MdException
java.rmi.RemoteException - In the event of remote object failure.
ServiceException
void setCommitOnUpdate(boolean commitWithStore)
throws ServiceException,
java.rmi.RemoteException
boolean - value indicating if Authorization TransactionContext is committed with ObjectStore update
com.sas.metadata.remote.MdException
java.rmi.RemoteException - In the event of remote object failure.
ServiceException
java.util.List<java.lang.String> getApplicablePermissions()
throws ServiceException,
java.rmi.RemoteException
Note that for ACT definition the entire list of available permissions is returned
ServiceException
java.rmi.RemoteException - In the event of remote object failure.
java.util.List<com.sas.services.information.metadata.AuthorizationIdentityInfoInterface> getIdentityInfo()
throws ServiceException,
java.rmi.RemoteException
AuthorizationIdentityInfoInterface objects
ServiceException
java.rmi.RemoteException - In the event of remote object failure.
AuthorizationInfoInterface getAuthorizations(IdentityInterface identity,
java.util.List<java.lang.String> permissions)
throws ServiceException,
java.rmi.RemoteException
identity - An Identity object representing the User, Group, or Role for
which permissions are sought. If null is specified then an
empty List is returned.permissions - A List of Strings containing the permission names for which
authorizations are sought. If the List is null or empty, all
applicable permissions for the object are returned.
java.lang.IllegalArgumentException - If the identity parameter reference is null
ServiceException
java.rmi.RemoteException - in the event of remote object failure.
java.util.List<AuthorizationInfoInterface> getAuthorizations(java.util.List<IdentityInterface> identities,
java.util.List<java.lang.String> permissions)
throws ServiceException,
java.rmi.RemoteException
identities - A List of Identity objects representing the Users,
Groups, or Roles for which permissions are sought. If the List
is null or empty, authorizations for all relevant identities
are returned.permissions - A List of Strings containing the permission names for which
authorizations are sought. If the List is null or empty, all
applicable permissions for the object are returned.
AuthorizationInfoInterface>
A List containing the resulting authorization info
ServiceException
java.rmi.RemoteException - in the event of remote object failure.
java.util.List<AuthorizationInfoInterface> getAuthorizationsAll()
throws ServiceException,
java.rmi.RemoteException
AuthorizationInfoInterface>
A List containing the resulting authorization info
ServiceException
java.rmi.RemoteException - in the event of remote object failure.
void setAuthorizations(IdentityInterface identity,
java.util.List<PermissionInfoInterface> permissionInfoList)
throws ServiceException,
java.rmi.RemoteException
identity - The identity for which permissions are being setpermissionInfoList - A List of one or more PermissionInfoInterface objects
defining the permission(s) to set.
java.lang.IllegalArgumentException - If the identity parameter reference is null
If the permissionInfoList parameter reference is null
ServiceException
java.rmi.RemoteException - In the event of remote object failure.
void setAuthorizations(java.util.List<AuthorizationInfoInterface> authorizations)
throws ServiceException,
java.rmi.RemoteException
authorizations - A List of AuthorizationInfoInterface instances where each
represents a unique Identity and the permission(s) to be set
for it.
java.lang.IllegalArgumentException - If the authorizations List parameter reference is null
ServiceException
java.rmi.RemoteException - In the event of remote object failure.
AuthorizationExplainedInfoInterface getAuthorizationsExplained(IdentityInterface identity,
java.util.List<java.lang.String> permissions)
throws ServiceException,
java.rmi.RemoteException
identity - An Identity object representing the User Group,
or Role for which permissions are sought.permissions - A List of Strings containing the permission names for which
authorizations are sought. If the List is null or empty, all
applicable permissions for the object are returned.
PermissionExplainedInfoInterface>
A List containing the resulting authorization explained info
java.lang.IllegalArgumentException - If the identity parameter reference is null
ServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.util.List<AuthorizationExplainedInfoInterface> getAuthorizationsExplained(java.util.List<IdentityInterface> identities,
java.util.List<java.lang.String> permissions)
throws ServiceException,
java.rmi.RemoteException
identities - A List of Identity objects representing the Users,
Groups, or Roles for which authorizations are sought. If the List
is null or empty, authorizations for all relevant identities
are returned.permissions - A List of Strings containing the permission names for which
authorizations are sought. If the List is null or empty, all
applicable permissions for the object are returned.
PermissionExplainedInfoInterface>
A List containing the resulting authorization explained info
ServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.util.List<AuthorizationExplainedInfoInterface> getAuthorizationsExplainedAll()
throws ServiceException,
java.rmi.RemoteException
PermissionExplainedInfoInterface>
A List containing the resulting authorization explained info
ServiceException - if a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
void commit()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of a remote object failure.
void discard()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of a remote object failure.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||