[
https://issues.jboss.org/browse/GTNPORTAL-2350?page=com.atlassian.jira.pl...
]
Antoine Herzog updated GTNPORTAL-2350:
--------------------------------------
Description:
In the class OrganizationDatabaseInitializer, it would be nice to code the internal
processing properties and method as "protected", instead of "private",
so it is more easay to override the whole class.
the methods such as :
private boolean checkExistDatabase(OrganizationService service) throws Exception
(very usefull if we want to change the way the check is done in the database, without
rewriting all the way that the Users, Groups, Memberships are created).
private void createGroups(OrganizationService orgService) throws Exception
private void createMembershipTypes(OrganizationService service) throws Exception
private void createUsers(OrganizationService service) throws Exception
(very usefull if we want to change the way to create only one type of those IDM element,
without rewriting all the code for the others).
the properties :
private OrganizationConfig config_;
private static int CHECK_EMPTY = 0, CHECK_ENTRY = 1;
private int checkDatabaseAlgorithm_ = CHECK_EMPTY;
private boolean printInfo_ = true;
to have access to them in the inheriting classes.
This will help to customize the Identity Management integration with the portal, and the
launch of the portal, with custum User management.
The workaround : rewrite the whole class, which is not a big work, but less clean.
was:
In the class OrganizationDatabaseInitializer, it would be nice to code the internal
processing method as "protected", instead of "private", so it is more
easay to override the whole class.
the methods such as :
private boolean checkExistDatabase(OrganizationService service) throws Exception
(very usefull if we want to change the way the check is done in the database, without
rewriting all the way that the Users, Groups, Memberships are created).
private void createGroups(OrganizationService orgService) throws Exception
private void createMembershipTypes(OrganizationService service) throws Exception
private void createUsers(OrganizationService service) throws Exception
(very usefull if we want to change the way to create only one type of those IDM element,
without rewriting all the code for the others).
This will help to customize the Identity Management integration with the portal, and the
launch of the portal, with custum User management.
The workaround : rewrite the whole class, which is not a big work, but less clean.
OrganizationDatabaseInitializer : internal methods shall be protected
instead of private
----------------------------------------------------------------------------------------
Key: GTNPORTAL-2350
URL:
https://issues.jboss.org/browse/GTNPORTAL-2350
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: Identity integration
Affects Versions: 3.2.0-Beta01
Environment: Jboss 5, GateIn 3.1
Reporter: Antoine Herzog
Assignee: Boleslaw Dawidowicz
Priority: Optional
In the class OrganizationDatabaseInitializer, it would be nice to code the internal
processing properties and method as "protected", instead of "private",
so it is more easay to override the whole class.
the methods such as :
private boolean checkExistDatabase(OrganizationService service) throws Exception
(very usefull if we want to change the way the check is done in the database, without
rewriting all the way that the Users, Groups, Memberships are created).
private void createGroups(OrganizationService orgService) throws Exception
private void createMembershipTypes(OrganizationService service) throws Exception
private void createUsers(OrganizationService service) throws Exception
(very usefull if we want to change the way to create only one type of those IDM element,
without rewriting all the code for the others).
the properties :
private OrganizationConfig config_;
private static int CHECK_EMPTY = 0, CHECK_ENTRY = 1;
private int checkDatabaseAlgorithm_ = CHECK_EMPTY;
private boolean printInfo_ = true;
to have access to them in the inheriting classes.
This will help to customize the Identity Management integration with the portal, and the
launch of the portal, with custum User management.
The workaround : rewrite the whole class, which is not a big work, but less clean.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira