Package org.gluu.oxtrust.action
Class ManagePersonAuthenticationAction
java.lang.Object
org.gluu.oxtrust.action.ManagePersonAuthenticationAction
- All Implemented Interfaces:
Serializable,LdapConfigurationModel,SimpleCustomPropertiesListModel,SimplePropertiesListModel
@Named("managePersonAuthenticationAction")
@ConversationScoped
@Secure("#{permissionService.hasPermission(\'configuration\', \'access\')}")
public class ManagePersonAuthenticationAction
extends Object
implements SimplePropertiesListModel, SimpleCustomPropertiesListModel, LdapConfigurationModel, Serializable
Action class for configuring person authentication
- Author:
- Yuriy Movchan Date: 16/11/2010
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(org.gluu.model.passport.PassportConfiguration removePassportConfiguration) voidaddItemToSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties) voidaddItemToSimpleProperties(List<org.gluu.model.SimpleProperty> simpleProperties) voidaddLdapConfig(List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList) voidvoidcancel()voidorg.gluu.model.ldap.GluuLdapConfigurationorg.gluu.config.oxtrust.AppConfigurationList<org.gluu.model.ldap.GluuLdapConfiguration> booleanbooleanbooleanmodify()voidremoveItemFromSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties, org.gluu.model.SimpleCustomProperty simpleCustomProperty) voidremoveItemFromSimpleProperties(List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty) voidremoveLdapConfig(List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList, org.gluu.model.ldap.GluuLdapConfiguration removeLdapConfig) voidremoveStrategy(org.gluu.model.passport.PassportConfiguration removePassportConfiguration) save()voidsetActiveLdapConfig(org.gluu.model.ldap.GluuLdapConfiguration activeLdapConfig) voidsetAuthenticationMode(String authenticationMode) voidsetAuthenticationRecaptchaEnabled(boolean authenticationRecaptchaEnabled) voidsetOxTrustappConfiguration(org.gluu.config.oxtrust.AppConfiguration oxTrustappConfiguration) voidsetOxTrustAuthenticationMode(String oxTrustAuthenticationMode) voidsetPassportEnable(Boolean passportEnable) voidsetRecaptchaSecretKey(String recaptchaSecretKey) voidsetRecaptchaSiteKey(String recaptchaSiteKey) voidsetSourceConfigs(List<org.gluu.model.ldap.GluuLdapConfiguration> sourceConfigs) testLdapConnection(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig) booleanupdateAuthConf(GluuConfiguration configuration) voidupdateLdapBindPassword(String bindPassword) voidupdateLdapBindPassword(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig)
-
Constructor Details
-
ManagePersonAuthenticationAction
public ManagePersonAuthenticationAction()
-
-
Method Details
-
isAuthenticationRecaptchaEnabled
public boolean isAuthenticationRecaptchaEnabled() -
setAuthenticationRecaptchaEnabled
public void setAuthenticationRecaptchaEnabled(boolean authenticationRecaptchaEnabled) -
modify
-
modifyImpl
-
save
- Throws:
IOException
-
cancel
-
updateAuthConf
-
getPersonAuthenticationConfigurationNames
-
testLdapConnection
-
updateLdapBindPassword
public void updateLdapBindPassword(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig) -
updateLdapBindPassword
-
isExistLdapConfigIdpAuthConf
public boolean isExistLdapConfigIdpAuthConf() -
addItemToSimpleProperties
- Specified by:
addItemToSimplePropertiesin interfaceSimplePropertiesListModel
-
removeItemFromSimpleProperties
public void removeItemFromSimpleProperties(List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty) - Specified by:
removeItemFromSimplePropertiesin interfaceSimplePropertiesListModel
-
getAuthenticationMode
-
setAuthenticationMode
-
getOxTrustAuthenticationMode
-
setOxTrustAuthenticationMode
-
isInitialized
public boolean isInitialized() -
getId
-
addStrategy
public void addStrategy() -
addField
public void addField(org.gluu.model.passport.PassportConfiguration removePassportConfiguration) -
getPassportEnable
-
setPassportEnable
-
getSourceConfigs
-
setSourceConfigs
-
addSourceConfig
public void addSourceConfig() -
addLdapConfig
- Specified by:
addLdapConfigin interfaceLdapConfigurationModel
-
removeLdapConfig
public void removeLdapConfig(List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList, org.gluu.model.ldap.GluuLdapConfiguration removeLdapConfig) - Specified by:
removeLdapConfigin interfaceLdapConfigurationModel
-
getActiveLdapConfig
public org.gluu.model.ldap.GluuLdapConfiguration getActiveLdapConfig() -
updateBindPassword
public void updateBindPassword() -
cancelBindPassword
public void cancelBindPassword() -
setActiveLdapConfig
public void setActiveLdapConfig(org.gluu.model.ldap.GluuLdapConfiguration activeLdapConfig) - Specified by:
setActiveLdapConfigin interfaceLdapConfigurationModel
-
addItemToSimpleCustomProperties
public void addItemToSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties) - Specified by:
addItemToSimpleCustomPropertiesin interfaceSimpleCustomPropertiesListModel
-
removeItemFromSimpleCustomProperties
public void removeItemFromSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties, org.gluu.model.SimpleCustomProperty simpleCustomProperty) - Specified by:
removeItemFromSimpleCustomPropertiesin interfaceSimpleCustomPropertiesListModel
-
removeStrategy
public void removeStrategy(org.gluu.model.passport.PassportConfiguration removePassportConfiguration) -
getRecaptchaSiteKey
-
setRecaptchaSiteKey
-
getRecaptchaSecretKey
-
setRecaptchaSecretKey
-
getOxTrustappConfiguration
public org.gluu.config.oxtrust.AppConfiguration getOxTrustappConfiguration() -
setOxTrustappConfiguration
public void setOxTrustappConfiguration(org.gluu.config.oxtrust.AppConfiguration oxTrustappConfiguration)
-