|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectARoad0.gBase.ACSFactoryImpl
ARoad0.AcsAddon.Accbee.MySQL.gBase.ACSFactoryMySQLImpl
public class ACSFactoryMySQLImpl
This class is responsible for creating a MySQL as an access control system (ACS). The requirements for the MySQL access controls are described in http://dev.mysql.com/doc/refman/5.6/en/request-access.html and the near pages. Almost all the work is done by the super class, and this class has just to use the right methods of the superclass. The limitations on the MySQL server simulation are described in the MySQL gBase documentation.
Called by gDMak.ActionNewACSyst and MySQL.gWork.AcsFactory.MySQL. This class does not use for its GUI any BeanInfo. It is a javabean without specific bound properties.
ACSMySQLImplBeanInfo
Field Summary | |
---|---|
private static int |
PRIME
|
Constructor Summary | |
---|---|
ACSFactoryMySQLImpl()
Default constructor. |
|
ACSFactoryMySQLImpl(ImmutableName _iSname,
ImmutableName _name,
java.lang.String _ACStype,
ImmutableName _parentName)
Called by MySQL.gWork.AcsFactoryMySQL. |
Method Summary | |
---|---|
ACSImpl |
createACS()
Creates the ACSMySQLImpl with its structural arguments. |
void |
initializeConstraintsBeforeCreation()
Initializes the ACS constraints maps before the call to ACSImpl.valueOf(). |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final int PRIME
Constructor Detail |
---|
public ACSFactoryMySQLImpl()
public ACSFactoryMySQLImpl(ImmutableName _iSname, ImmutableName _name, java.lang.String _ACStype, ImmutableName _parentName) throws BaseError
_iSname
- the name of the IS containing this new ACS. May be null, and
ISFactoryUtilityImpl.DEFAULT_IS_NAME is then set as IS name and it is created
BaseManagerImpl.
Sets the current ACS addon version._name
- the name of the new ACS. Never null._ACStype
- the ACS type. Never null._parentName
- the parent of this new ACS. No use if _iSname is null.
Otherwise, it has to contain the IS name.
BaseError
- if _type is null, _parentName does not start with _iSname.Method Detail |
---|
public void initializeConstraintsBeforeCreation()
- ACL right: ACL for actors only as targets
This AcsAddon method adds also an informal description of the right selection algorithm. An ACSFactoryMySQLImpl for a new ACS derived from a MySQL ACS has already all these values. Called by createACS(). Overrides and calls first the super method.
initializeConstraintsBeforeCreation
in class ACSFactoryImpl
public ACSImpl createACS() throws BaseError
createACS
in class ACSFactoryImpl
BaseError
- if the integrity rules are not followed (with the list of
all the user errors, including up to 2500 words when all the rules
are unmatched), if the ACS is already known by BaseManagerImpl.ACSFactoryImpl.createACS()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |