org.opencrx.kernel.backend
Class SecureObject
java.lang.Object
org.opencrx.kernel.backend.SecureObject
public class SecureObject
- extends Object
|
Method Summary |
void |
addOwningGroup(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
|
void |
addOwningGroups(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
|
void |
applyAcls(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
org.openmdx.base.marshalling.Marshaller marshaller,
Short mode,
String reportText,
List<String> report)
|
static org.openmdx.security.realm1.jmi1.Principal |
findPrincipal(String name,
org.openmdx.security.realm1.jmi1.Realm realm,
javax.jdo.PersistenceManager pm)
|
static org.openmdx.security.realm1.jmi1.Realm |
getRealm(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
|
org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 |
getUser(String principalName)
|
static PrincipalGroup |
initPrincipalGroup(String groupName,
javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
|
void |
removeAllOwningGroup(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
|
void |
removeAllOwningGroup(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
|
void |
removeOwningGroup(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
|
void |
removeOwningGroup(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
|
void |
replaceOwningGroups(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
|
void |
replaceOwningGroups(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
|
void |
setAccessLevel(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
|
void |
setAccessLevel(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
|
void |
setOwningUser(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
|
void |
setOwningUser(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
|
| 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
public SecureObject(Backend backend,
org.openmdx.application.dataprovider.cci.DataproviderObject args)
SecureObject
public SecureObject(Backend backend,
org.openmdx.base.naming.Path paramUserIdentity,
List<org.openmdx.base.naming.Path> paramGroupIdentity,
Short paramMode,
Short paramAccessLevelBrowse,
Short paramAccessLevelUpdate,
Short paramAccessLevelDelete)
findPrincipal
public static org.openmdx.security.realm1.jmi1.Principal findPrincipal(String name,
org.openmdx.security.realm1.jmi1.Realm realm,
javax.jdo.PersistenceManager pm)
getRealm
public static org.openmdx.security.realm1.jmi1.Realm getRealm(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
initPrincipalGroup
public static PrincipalGroup initPrincipalGroup(String groupName,
javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
getUser
public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 getUser(String principalName)
throws ServiceException
- Throws:
ServiceException
applyAcls
public void applyAcls(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
org.openmdx.base.marshalling.Marshaller marshaller,
Short mode,
String reportText,
List<String> report)
setOwningUser
public void setOwningUser(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
setOwningUser
public void setOwningUser(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
addOwningGroup
public void addOwningGroup(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
addOwningGroups
public void addOwningGroups(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
replaceOwningGroups
public void replaceOwningGroups(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
replaceOwningGroups
public void replaceOwningGroups(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeOwningGroup
public void removeOwningGroup(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeOwningGroup
public void removeOwningGroup(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeAllOwningGroup
public void removeAllOwningGroup(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeAllOwningGroup
public void removeAllOwningGroup(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
setAccessLevel
public void setAccessLevel(org.openmdx.base.naming.Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
setAccessLevel
public void setAccessLevel(org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.