## gate.security
Interface AccessController

All Known Implementing Classes:
  AccessControllerImpl

public interface AccessController

Method Summary
`void` `close()` ---
`Group` `createGroup(String name, Session s)` ---
`User` `createUser(String name, String passwd, Session s)` ---
`void` `deleteGroup(Group grp, Session s)` ---
`void` `deleteGroup(Long id, Session s)` ---
`void` `deleteUser(Long id, Session s)` ---
`void` `deleteUser(User usr, Session s)` ---
`Group` `findGroup(Long id)` ---
`Group` `findGroup(String name)` ---
`Session` `findSession(Long id)` ---
`User` `findUser(Long id)` ---
`User` `findUser(String name)` ---
`boolean` `isValidSecurityInfo(SecurityInfo si)` --
`boolean` `isValidSession(Session s)` ---
`List` `listGroups()` --
`List` `listUsers()` --
`Session` `login(String usr_name, String passwd, Long prefGroupID)` ---
`void` `logout(Session s)` ---
`void` `open()` ---
`void` `setSessionTimeout(Session s, int timeoutMins)` ---

Method Detail

### findGroup

    public Group findGroup(String name)
                    throws PersistenceException,
                           SecurityException

  ---

### findGroup

    public Group findGroup(Long id)
                    throws PersistenceException,
                           SecurityException

  ---

### findUser

    public User findUser(String name)
                  throws PersistenceException,
                         SecurityException

  ---

### findUser

    public User findUser(Long id)
                  throws PersistenceException,
                         SecurityException

  ---

### findSession

    public Session findSession(Long id)
                        throws SecurityException

  ---

### createGroup

    public Group createGroup(String name,
                             Session s)
                      throws PersistenceException,
                             SecurityException

  ---

### deleteGroup

    public void deleteGroup(Long id,
                            Session s)
                     throws PersistenceException,
                            SecurityException

  ---

### deleteGroup

    public void deleteGroup(Group grp,
                            Session s)
                     throws PersistenceException,
                            SecurityException

  ---

### createUser

    public User createUser(String name,
                           String passwd,
                           Session s)
                    throws PersistenceException,
                           SecurityException

  ---

### deleteUser

    public void deleteUser(User usr,
                           Session s)
                    throws PersistenceException,
                           SecurityException

  ---

### deleteUser

    public void deleteUser(Long id,
                           Session s)
                    throws PersistenceException,
                           SecurityException

  ---

### login

    public Session login(String usr_name,
                         String passwd,
                         Long prefGroupID)
                  throws PersistenceException,
                         SecurityException

  ---

### logout

    public void logout(Session s)
                throws SecurityException

  ---

### setSessionTimeout

    public void setSessionTimeout(Session s,
                                  int timeoutMins)
                           throws SecurityException

  ---

### isValidSession

    public boolean isValidSession(Session s)
                           throws SecurityException

  ---

### open

    public void open()
              throws PersistenceException

  ---

### close

    public void close()
               throws PersistenceException

  ---

### listUsers

    public List listUsers()
                   throws PersistenceException

  --

### listGroups

    public List listGroups()
                    throws PersistenceException

  --

### isValidSecurityInfo

    public boolean isValidSecurityInfo(SecurityInfo si)

  --