org.ow2.bonita.identity
Class IdentityService
java.lang.Object
org.ow2.bonita.identity.IdentityService
- All Implemented Interfaces:
- IdentityServiceMBean
public class IdentityService
- extends java.lang.Object
- implements IdentityServiceMBean
- Author:
- "Pierre Vigneras"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIGURATION
public static final java.lang.String CONFIGURATION
- See Also:
- Constant Field Values
IdentityService
public IdentityService()
commit
public void commit()
throws CommitException
- Throws:
CommitException
createGroup
public java.lang.String createGroup()
- Specified by:
createGroup
in interface IdentityServiceMBean
createGroup
public java.lang.String createGroup(java.lang.String parentId)
- Specified by:
createGroup
in interface IdentityServiceMBean
createUser
public java.lang.String createUser()
- Specified by:
createUser
in interface IdentityServiceMBean
getAllGroups
public java.util.Collection<java.lang.String> getAllGroups()
- Specified by:
getAllGroups
in interface IdentityServiceMBean
getAllUsers
public java.util.Collection<java.lang.String> getAllUsers()
- Specified by:
getAllUsers
in interface IdentityServiceMBean
setMembership
public void setMembership(java.lang.String userId,
java.lang.String groupId)
- Specified by:
setMembership
in interface IdentityServiceMBean
newServer
public static void newServer()
throws javax.management.MBeanRegistrationException
- Throws:
javax.management.MBeanRegistrationException
usage
public static void usage()
main
public static void main(java.lang.String[] args)
throws javax.management.MBeanRegistrationException
- Throws:
javax.management.MBeanRegistrationException
getImplName
public java.lang.String getImplName()
- Description copied from interface:
IdentityServiceMBean
- Get the concrete
IdentityServiceOp
implementation class name.
- Specified by:
getImplName
in interface IdentityServiceMBean
- Returns:
- the concrete
IdentityServiceOp
implementation class name.
getGroup
public GroupOp getGroup(java.lang.String id)
throws GroupNotFoundException
- Specified by:
getGroup
in interface IdentityServiceMBean
- Throws:
GroupNotFoundException
getUser
public UserOp getUser(java.lang.String id)
throws UserNotFoundException
- Specified by:
getUser
in interface IdentityServiceMBean
- Throws:
UserNotFoundException
Copyright © 2009 OW2 Consortium. All Rights Reserved.