|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectARoad0.gWork.AcsFactory
public class AcsFactory
This class is an utility class for the creation of the standard ACS which are configured by code, like the RBAC application. It uses the class ARoad0.gBase.ACSFactoryImpl for creating the ACS in the base. It offers only public static methods. This class has several subclasses in the AcsAddon packages, and they implements the interfaces Pattern.Singleton and Pattern.AcsFactoryForAcsAddon. this class has no variables.
Constructor Summary | |
---|---|
AcsFactory()
with this public constructor for the subclasses. |
Method Summary | |
---|---|
static ACS |
configureRBAC(ACSImpl _result,
ACS _core)
Creates the elements of the RBAC application ACS. |
static void |
configureRBAConLinux(ImmutableName _name,
ACS _core,
ACSFactoryImpl _factory)
Creates the roots of the RBAC application on the Impl ACS. |
static ACS |
configureTestForVFandPRI(ACSImpl _result)
Creates the elements of the ACS test for VirtualFolders and Privileges. |
static ACS |
configureTestOfAll(ACSImpl _result)
Creates the elements of the ACS test for VirtualFolders and Privileges. |
static ACSImpl |
createApache(ACSImpl _result,
ACS _core)
Creates the elements of the Apache ACS. |
static ACSImpl |
createRBAC(ImmutableName _name,
java.lang.String _type,
ACSImpl _core)
Creates an ACS with the type Role-Based Access Control application. |
static ACSImpl |
createTestForVFandPRI(ImmutableName _iSname,
ImmutableName _name,
java.lang.String _type,
ImmutableName _parent)
Creates a specific ACS to test the VirtualFolders and the Privileges. |
static ACSImpl |
createTestOfAll(ImmutableName _iSname,
ImmutableName _name,
java.lang.String _type,
ImmutableName _parent)
Creates a specific ACS to test all the options for the structure, the types, the constraints in an ACS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AcsFactory()
Method Detail |
---|
public static ACSImpl createRBAC(ImmutableName _name, java.lang.String _type, ACSImpl _core) throws BaseError
_name
- ImmutableName for the ACS to create.
No test of null value nor empty._type
- is 'RBAC application'._core
- is the core ACS (for instance, the operating system)
on which the new ACS is build up. May be null.
BaseError
- if the ACS is not known, the ACS is open, the open ACS has not
the same name, the core ACS is null when it is mandatory, or
ClassNotFoundException, IOException with
invalidClassException if ACSImpl HAS CHANGED,
or if the type or the specified structure are not correct.public static ACSImpl createTestForVFandPRI(ImmutableName _iSname, ImmutableName _name, java.lang.String _type, ImmutableName _parent) throws BaseError
_iSname
- the IS of the new ACS. May be null._name
- of the ACS to create.
No test of null value nor empty._type
- must be 'An ACS for testing VirtualFolders and Privileges'_parent
- is the parent node of the new ACS in the IS. Never null.
BaseError
- if the ACS is known, the ACS is open,
the core ACS is null when it is mandatory, or
ClassNotFoundException, IOException with
invalidClassException if ACSImpl HAS CHANGED,
or if the type or the specified structure are not correct.public static ACSImpl createTestOfAll(ImmutableName _iSname, ImmutableName _name, java.lang.String _type, ImmutableName _parent) throws BaseError
_iSname
- the IS of the new ACS. May be null._name
- of the ACS to create.
No test of null value nor empty._type
- must be 'An ACS for testing AG/ACL/PRI rights and AG inheritance'_parent
- is the parent node of the new ACS in the IS. Never null.
BaseError
- if the ACS is known, the ACS is open,
the core ACS is null when it is mandatory, or
ClassNotFoundException, IOException with
invalidClassException if ACSImpl HAS CHANGED,
or if the type or the specified structure are not correct.public static final ACS configureRBAC(ACSImpl _result, ACS _core)
_result
- to construct_core
- the core ACS of _result
java.lang.InternalError
- if the method failspublic static final ACS configureTestForVFandPRI(ACSImpl _result)
_result
- to construct
public static final ACS configureTestOfAll(ACSImpl _result)
_result
- to construct
public static final ACSImpl createApache(ACSImpl _result, ACS _core)
_result
- to construct_core
- is the foundation on which _result is build up. Noop if
its type is not "Linux 8.04 Desktop".
public static final void configureRBAConLinux(ImmutableName _name, ACS _core, ACSFactoryImpl _factory)
_name
- ImmutableName for the ACS to create.
No test of null value nor empty._core
- is the Linux on which the application is building up, and
it is updated by the initial and standard trees of resources
and eligible parties of the RBAC application_factory
- the RBAC ACS factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |