Skip navigation links

Oracle® WebCenter Content Java API Reference for Imaging
11g Release 1 (11.1.1)

E12853-03


oracle.imaging
Interface SecurityService


public interface SecurityService

The service for interacting with security. The methods on this service are related to security member information within imaging and system level security.


Method Summary
 java.util.List<SecurityMember> findGroups(java.lang.String groupFilter)
          Returns a list of groups based off the filter specified.
 java.util.List<SecurityMember> findUsers(java.lang.String userFilter)
          Returns a list of users based off the filter specified.
 SystemSecurity.Permissions getSystemPermissions(SystemSecurity.SystemArea systemArea)
          Gets the system level permissions of the current user for a specific an area of the Imaging system.
 java.util.List<SystemSecurity> getSystemSecurity(SystemSecurity.SystemArea systemArea)
          Gets the security for an area of the Imaging system.
 void setSystemSecurity(SystemSecurity.SystemArea systemArea, java.util.List<SystemSecurity> security)
          Sets the security for an area of the Imaging system.

 

Method Detail

findUsers

java.util.List<SecurityMember> findUsers(java.lang.String userFilter)
                                         throws ImagingException
Returns a list of users based off the filter specified. If no filter is specified then all users are returned. If the filter does not match then no users are returned. The filter can contain an * as a way to wildard any character(s) including no character. The wildcard can exist anywhere in the string and be included as many times as needed.
Parameters:
userFilter - The user filter to apply during the lookup of the users.
Returns:
A User array based off the filter specified
Throws:
ImagingException

findGroups

java.util.List<SecurityMember> findGroups(java.lang.String groupFilter)
                                          throws ImagingException
Returns a list of groups based off the filter specified. If no filter is specified then all groups are returned. If the filter does not match then no groups are returned. The filter can contain an * as a way to wildard any character(s) including no character. The wildcard can exist anywhere in the string and be include as many times as needed.
Parameters:
groupFilter - The group filter to apply during the lookup of the groups.
Returns:
A Group array based off the filter specified
Throws:
ImagingException

setSystemSecurity

void setSystemSecurity(SystemSecurity.SystemArea systemArea,
                       java.util.List<SystemSecurity> security)
                       throws ImagingException,
                              ValidationException
Sets the security for an area of the Imaging system.
Parameters:
systemArea - The area on which to set security
security - Security member permissions to set
Throws:
ImagingException
ValidationException

getSystemSecurity

java.util.List<SystemSecurity> getSystemSecurity(SystemSecurity.SystemArea systemArea)
                                                 throws ImagingException
Gets the security for an area of the Imaging system.
Parameters:
systemArea - The area from which to get security
Returns:
a SystemSecurity structure
Throws:
ImagingException

getSystemPermissions

SystemSecurity.Permissions getSystemPermissions(SystemSecurity.SystemArea systemArea)
                                                throws ImagingException
Gets the system level permissions of the current user for a specific an area of the Imaging system.
Parameters:
systemArea - The area from which to get system level permissions
Returns:
a System Security Permissions structure
Throws:
ImagingException

Skip navigation links

Oracle® WebCenter Content Java API Reference for Imaging
11g Release 1 (11.1.1)

E12853-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.