de.bb.bejy
Class IniUserGroup

java.lang.Object
  |
  +--de.bb.bejy.IniUserGroup
All Implemented Interfaces:
ConfigFileUser, UserGroupDbi

public class IniUserGroup
extends java.lang.Object
implements UserGroupDbi, ConfigFileUser

Implementation of the de.bb.bejy.UserGroupDbi interface, which uses BEJY's config file.


Constructor Summary
IniUserGroup()
           
 
Method Summary
 void setConfigFile(XmlFile ini, java.lang.String sec)
          Used to specify the config file and section name.
 boolean verifyUserGroup(java.lang.String user, java.lang.String pass, java.lang.String group)
          Is a user with that password in the specified group?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IniUserGroup

public IniUserGroup()
Method Detail

verifyUserGroup

public boolean verifyUserGroup(java.lang.String user,
                               java.lang.String pass,
                               java.lang.String group)
Is a user with that password in the specified group?
Specified by:
verifyUserGroup in interface UserGroupDbi
Returns:
true if that user/password/group combination exists, false either.

setConfigFile

public void setConfigFile(XmlFile ini,
                          java.lang.String sec)
Used to specify the config file and section name.
Specified by:
setConfigFile in interface ConfigFileUser
Parameters:
ini - the config file object
sec - the section name.