org.opencrx.kernel.backend
Class SecureObject
java.lang.Object
org.opencrx.kernel.backend.SecureObject
public class SecureObject
- extends Object
|
Method Summary |
void |
addOwningGroup(DataproviderObject_1_0 obj,
List<String> report)
|
void |
addOwningGroup(Path secureObjectIdentity,
List<String> report)
|
void |
applyAcls(DataproviderObject_1_0 obj,
Marshaller marshaller,
Short mode,
String reportText,
List 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)
|
DataproviderObject_1_0 |
getUser(String principalName)
|
static PrincipalGroup |
initPrincipalGroup(String groupName,
javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
|
void |
removeAllOwningGroup(DataproviderObject_1_0 obj,
List<String> report)
|
void |
removeAllOwningGroup(Path secureObjectIdentity,
List<String> report)
|
void |
removeOwningGroup(DataproviderObject_1_0 obj,
List<String> report)
|
void |
removeOwningGroup(Path secureObjectIdentity,
List<String> report)
|
void |
setAccessLevel(DataproviderObject_1_0 obj,
List report)
|
void |
setAccessLevel(Path secureObjectIdentity,
List<String> report)
|
void |
setOwningUser(DataproviderObject_1_0 obj,
List report)
|
void |
setOwningUser(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,
DataproviderObject args)
SecureObject
public SecureObject(Backend backend,
Path paramUserIdentity,
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 DataproviderObject_1_0 getUser(String principalName)
throws ServiceException
- Throws:
ServiceException
applyAcls
public void applyAcls(DataproviderObject_1_0 obj,
Marshaller marshaller,
Short mode,
String reportText,
List report)
setOwningUser
public void setOwningUser(Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
setOwningUser
public void setOwningUser(DataproviderObject_1_0 obj,
List report)
throws ServiceException
- Throws:
ServiceException
addOwningGroup
public void addOwningGroup(Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
addOwningGroup
public void addOwningGroup(DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeOwningGroup
public void removeOwningGroup(Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeOwningGroup
public void removeOwningGroup(DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeAllOwningGroup
public void removeAllOwningGroup(Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
removeAllOwningGroup
public void removeAllOwningGroup(DataproviderObject_1_0 obj,
List<String> report)
throws ServiceException
- Throws:
ServiceException
setAccessLevel
public void setAccessLevel(Path secureObjectIdentity,
List<String> report)
throws ServiceException
- Throws:
ServiceException
setAccessLevel
public void setAccessLevel(DataproviderObject_1_0 obj,
List report)
throws ServiceException
- Throws:
ServiceException
This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.