org.opencrx.kernel.backend
Class SecureObject
java.lang.Object
org.opencrx.kernel.backend.AbstractImpl
org.opencrx.kernel.backend.SecureObject
public class SecureObject
- extends AbstractImpl
|
Method Summary |
void |
addOwningGroup(SecureObject obj,
PrincipalGroup group,
short mode,
List<String> report)
|
void |
applyAcls(SecureObject obj,
org.openmdx.base.marshalling.Marshaller marshaller,
Short mode,
String reportText,
List<String> report)
|
org.openmdx.security.realm1.jmi1.Principal |
findPrincipal(String name,
org.openmdx.security.realm1.jmi1.Realm realm)
|
static SecureObject |
getInstance()
|
org.openmdx.base.naming.Path |
getLoginRealmIdentity(String providerName)
|
org.openmdx.security.realm1.jmi1.Realm |
getRealm(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
|
static org.openmdx.base.naming.Path |
getRealmIdentity(String providerName,
String realmName)
|
PrincipalGroup |
initPrincipalGroup(String groupName,
javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
|
static void |
register()
|
void |
removeAllOwningGroup(SecureObject obj,
short mode,
List<String> report)
|
void |
removeOwningGroup(SecureObject obj,
PrincipalGroup group,
short mode,
List<String> report)
|
void |
replaceOwningGroups(SecureObject obj,
List<PrincipalGroup> groups,
short mode,
List<String> report)
|
void |
setAccessLevel(SecureObject obj,
short accessLevelBrowse,
short accessLevelUpdate,
short accessLevelDelete,
short mode,
List<String> report)
|
void |
setOwningUser(SecureObject obj,
User user,
short mode,
List<String> report)
|
void |
updateSecureObject(SecureObject secureObject)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODE_LOCAL
public static final int MODE_LOCAL
- See Also:
- Constant Field Values
MODE_RECURSIVE
public static final int MODE_RECURSIVE
- See Also:
- Constant Field Values
SecureObject
protected SecureObject()
register
public static void register()
getInstance
public static SecureObject getInstance()
throws ServiceException
- Throws:
ServiceException
findPrincipal
public org.openmdx.security.realm1.jmi1.Principal findPrincipal(String name,
org.openmdx.security.realm1.jmi1.Realm realm)
getRealm
public org.openmdx.security.realm1.jmi1.Realm getRealm(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
initPrincipalGroup
public PrincipalGroup initPrincipalGroup(String groupName,
javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
applyAcls
public void applyAcls(SecureObject obj,
org.openmdx.base.marshalling.Marshaller marshaller,
Short mode,
String reportText,
List<String> report)
setOwningUser
public void setOwningUser(SecureObject obj,
User user,
short mode,
List<String> report)
throws ServiceException
- Throws:
ServiceException
addOwningGroup
public void addOwningGroup(SecureObject obj,
PrincipalGroup group,
short mode,
List<String> report)
throws ServiceException
- Throws:
ServiceException
replaceOwningGroups
public void replaceOwningGroups(SecureObject obj,
List<PrincipalGroup> groups,
short mode,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeOwningGroup
public void removeOwningGroup(SecureObject obj,
PrincipalGroup group,
short mode,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeAllOwningGroup
public void removeAllOwningGroup(SecureObject obj,
short mode,
List<String> report)
throws ServiceException
- Throws:
ServiceException
setAccessLevel
public void setAccessLevel(SecureObject obj,
short accessLevelBrowse,
short accessLevelUpdate,
short accessLevelDelete,
short mode,
List<String> report)
throws ServiceException
- Throws:
ServiceException
getLoginRealmIdentity
public org.openmdx.base.naming.Path getLoginRealmIdentity(String providerName)
getRealmIdentity
public static org.openmdx.base.naming.Path getRealmIdentity(String providerName,
String realmName)
updateSecureObject
public void updateSecureObject(SecureObject secureObject)
throws ServiceException
- Throws:
ServiceException
This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.