public class LoginScreenGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected CredentialProviderFactory |
_credentialProviderFactory
Name of the input parameters html field
|
protected JSONUtils |
_jsonUtils
The JSON helper
|
protected UserPopulationDAO |
_userPopulationDAO
The DAO for user populations
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
LoginScreenGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_generateCredentialProviders(List<CredentialProvider> credentialProviders,
int currentCredentialProvider) |
private void |
_generateLoginForm(Request request,
List<CredentialProvider> credentialProviders,
int currentCredentialProvider,
boolean invalidPopulationIds,
String chosenPopulationId) |
private void |
_generatePopulations(List<UserPopulation> usersPopulations,
boolean isAmetysPublic,
boolean tryedAnInvalidPopulationId,
String chosenPopulationId) |
void |
generate() |
void |
service(ServiceManager smanager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected CredentialProviderFactory _credentialProviderFactory
protected UserPopulationDAO _userPopulationDAO
protected JSONUtils _jsonUtils
public LoginScreenGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _generatePopulations(List<UserPopulation> usersPopulations, boolean isAmetysPublic, boolean tryedAnInvalidPopulationId, String chosenPopulationId) throws SAXException
SAXException
private void _generateCredentialProviders(List<CredentialProvider> credentialProviders, int currentCredentialProvider) throws SAXException
SAXException
private void _generateLoginForm(Request request, List<CredentialProvider> credentialProviders, int currentCredentialProvider, boolean invalidPopulationIds, String chosenPopulationId) throws SAXException
SAXException