org.jwarp.service.security
Class SQLSecurityGroup
java.lang.Object
|
+--org.jwarp.service.groups.Item
|
+--org.jwarp.service.groups.Group
|
+--org.jwarp.service.security.SecurityGroup
|
+--org.jwarp.service.security.SQLSecurityGroup
- All Implemented Interfaces:
- IGroup, IItem, ISecurityGroup, java.io.Serializable
- public class SQLSecurityGroup
- extends SecurityGroup
- See Also:
- Serialized Form
| Fields inherited from class org.jwarp.service.groups.Group |
members |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jwarp.service.groups.IGroup |
isMember |
| Methods inherited from interface org.jwarp.service.groups.IItem |
getID |
SQLcreateGroup
protected static java.lang.String SQLcreateGroup
SQLselectIdentity
protected static java.lang.String SQLselectIdentity
SQLreadGroup
protected static java.lang.String SQLreadGroup
SQLreadGroupByName
protected static java.lang.String SQLreadGroupByName
SQLgetMembers
protected static java.lang.String SQLgetMembers
SQLgetMember
protected static java.lang.String SQLgetMember
SQLselectMembers
protected static java.lang.String SQLselectMembers
SQLaddMember
protected static java.lang.String SQLaddMember
SQLremoveMember
protected static java.lang.String SQLremoveMember
pool
ConnectionPool pool
SQLSecurityGroup
public SQLSecurityGroup(int id,
ConnectionPool pool)
throws java.sql.SQLException,
MaxConnectException
SQLSecurityGroup
public SQLSecurityGroup(java.lang.String name,
ConnectionPool pool)
throws java.sql.SQLException,
MaxConnectException
SQLSecurityGroup
public SQLSecurityGroup(java.lang.String name,
java.lang.String description,
java.lang.Object additional,
ConnectionPool pool)
throws java.sql.SQLException,
MaxConnectException
setPool
public void setPool(ConnectionPool pool)
getMembers
public java.util.Iterator getMembers()
- Description copied from interface:
IGroup
- Returns all defined users.
- Overrides:
getMembers in class Group
- Following copied from interface:
org.jwarp.service.groups.IGroup
- Parameters:
admin - The administrator who triggers the call- Throws:
java.lang.SecurityException - If the Administrator was denied access.
isMember
public boolean isMember(int typeID,
int id)
addMember
public void addMember(int typeID,
int id)
removeMember
public void removeMember(int typeID,
int id)