diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2013-02-18 15:01:46 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2013-03-18 14:03:53 +0100 |
| commit | d6cfc7505be13b3b09adf423206cf75d9f806c12 (patch) | |
| tree | 8689ba2c6fdb7fba16ca7db9f9b11e90c010970b /src/main/java/com/c2kernel/entity/agent/ActiveEntity.java | |
| parent | 843f2d127ca11a93de706bda4025dd27eeaed97c (diff) | |
Initial Interface creation. Some compilation problems remain.
Diffstat (limited to 'src/main/java/com/c2kernel/entity/agent/ActiveEntity.java')
| -rw-r--r-- | src/main/java/com/c2kernel/entity/agent/ActiveEntity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/c2kernel/entity/agent/ActiveEntity.java b/src/main/java/com/c2kernel/entity/agent/ActiveEntity.java index d20fc1e..cc59b35 100644 --- a/src/main/java/com/c2kernel/entity/agent/ActiveEntity.java +++ b/src/main/java/com/c2kernel/entity/agent/ActiveEntity.java @@ -260,7 +260,7 @@ public class ActiveEntity extends AgentPOA @Override
public void addRole(String roleName) throws CannotManageException, ObjectNotFoundException {
- RolePath newRole = Gateway.getLDAPLookup().getRoleManager().getRolePath(roleName);
+ RolePath newRole = Gateway.getLookup().getRoleManager().getRolePath(roleName);
try {
newRole.addAgent(new AgentPath(mSystemKey));
} catch (InvalidEntityPathException ex) {
@@ -272,7 +272,7 @@ public class ActiveEntity extends AgentPOA @Override
public void removeRole(String roleName) throws CannotManageException, ObjectNotFoundException {
- RolePath rolePath = Gateway.getLDAPLookup().getRoleManager().getRolePath(roleName);
+ RolePath rolePath = Gateway.getLookup().getRoleManager().getRolePath(roleName);
try {
rolePath.removeAgent(new AgentPath(mSystemKey));
} catch (InvalidEntityPathException e) {
|
