Package org.gluu.oxtrust.action
Class ManagePersonAuthenticationAction
- java.lang.Object
-
- org.gluu.oxtrust.action.ManagePersonAuthenticationAction
-
- All Implemented Interfaces:
java.io.Serializable,LdapConfigurationModel,SimpleCustomPropertiesListModel,SimplePropertiesListModel
@Named("managePersonAuthenticationAction") @ConversationScoped @Secure("#{permissionService.hasPermission(\'configuration\', \'access\')}") public class ManagePersonAuthenticationAction extends java.lang.Object implements SimplePropertiesListModel, SimpleCustomPropertiesListModel, LdapConfigurationModel, java.io.SerializableAction class for configuring person authentication- Author:
- Yuriy Movchan Date: 16/11/2010
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagePersonAuthenticationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddField(org.gluu.model.passport.PassportConfiguration removePassportConfiguration)voidaddItemToSimpleCustomProperties(java.util.List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties)voidaddItemToSimpleProperties(java.util.List<org.gluu.model.SimpleProperty> simpleProperties)voidaddLdapConfig(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList)voidaddSourceConfig()voidaddStrategy()java.lang.Stringcancel()org.gluu.model.ldap.GluuLdapConfigurationgetActiveLdapConfig()java.lang.StringgetAuthenticationMode()java.lang.StringgetId(java.lang.Object obj)org.gluu.config.oxtrust.AppConfigurationgetOxTrustappConfiguration()java.lang.StringgetOxTrustAuthenticationMode()java.lang.BooleangetPassportEnable()java.util.List<java.lang.String>getPersonAuthenticationConfigurationNames()java.lang.StringgetRecaptchaSecretKey()java.lang.StringgetRecaptchaSiteKey()java.util.List<org.gluu.model.ldap.GluuLdapConfiguration>getSourceConfigs()booleanisAuthenticationRecaptchaEnabled()booleanisExistLdapConfigIdpAuthConf()booleanisInitialized()java.lang.Stringmodify()java.lang.StringmodifyImpl()voidremoveItemFromSimpleCustomProperties(java.util.List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties, org.gluu.model.SimpleCustomProperty simpleCustomProperty)voidremoveItemFromSimpleProperties(java.util.List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty)voidremoveLdapConfig(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList, org.gluu.model.ldap.GluuLdapConfiguration removeLdapConfig)voidremoveStrategy(org.gluu.model.passport.PassportConfiguration removePassportConfiguration)java.lang.Stringsave()voidsetActiveLdapConfig(org.gluu.model.ldap.GluuLdapConfiguration activeLdapConfig)voidsetAuthenticationMode(java.lang.String authenticationMode)voidsetAuthenticationRecaptchaEnabled(boolean authenticationRecaptchaEnabled)voidsetOxTrustappConfiguration(org.gluu.config.oxtrust.AppConfiguration oxTrustappConfiguration)voidsetOxTrustAuthenticationMode(java.lang.String oxTrustAuthenticationMode)voidsetPassportEnable(java.lang.Boolean passportEnable)voidsetRecaptchaSecretKey(java.lang.String recaptchaSecretKey)voidsetRecaptchaSiteKey(java.lang.String recaptchaSiteKey)voidsetSourceConfigs(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> sourceConfigs)java.lang.StringtestLdapConnection(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig)booleanupdateAuthConf(GluuConfiguration configuration)voidupdateBindPassword()java.lang.StringupdateLdapBindPassword(java.lang.String bindPassword)voidupdateLdapBindPassword(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig)
-
-
-
Method Detail
-
isAuthenticationRecaptchaEnabled
public boolean isAuthenticationRecaptchaEnabled()
-
setAuthenticationRecaptchaEnabled
public void setAuthenticationRecaptchaEnabled(boolean authenticationRecaptchaEnabled)
-
modify
public java.lang.String modify()
-
modifyImpl
public java.lang.String modifyImpl()
-
save
public java.lang.String save() throws java.io.IOException- Throws:
java.io.IOException
-
cancel
public java.lang.String cancel()
-
updateAuthConf
public boolean updateAuthConf(GluuConfiguration configuration)
-
getPersonAuthenticationConfigurationNames
public java.util.List<java.lang.String> getPersonAuthenticationConfigurationNames()
-
testLdapConnection
public java.lang.String testLdapConnection(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig)
-
updateLdapBindPassword
public void updateLdapBindPassword(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig)
-
updateLdapBindPassword
public java.lang.String updateLdapBindPassword(java.lang.String bindPassword)
-
isExistLdapConfigIdpAuthConf
public boolean isExistLdapConfigIdpAuthConf()
-
addItemToSimpleProperties
public void addItemToSimpleProperties(java.util.List<org.gluu.model.SimpleProperty> simpleProperties)
- Specified by:
addItemToSimplePropertiesin interfaceSimplePropertiesListModel
-
removeItemFromSimpleProperties
public void removeItemFromSimpleProperties(java.util.List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty)- Specified by:
removeItemFromSimplePropertiesin interfaceSimplePropertiesListModel
-
getAuthenticationMode
public java.lang.String getAuthenticationMode()
-
setAuthenticationMode
public void setAuthenticationMode(java.lang.String authenticationMode)
-
getOxTrustAuthenticationMode
public java.lang.String getOxTrustAuthenticationMode()
-
setOxTrustAuthenticationMode
public void setOxTrustAuthenticationMode(java.lang.String oxTrustAuthenticationMode)
-
isInitialized
public boolean isInitialized()
-
getId
public java.lang.String getId(java.lang.Object obj)
-
addStrategy
public void addStrategy()
-
addField
public void addField(org.gluu.model.passport.PassportConfiguration removePassportConfiguration)
-
getPassportEnable
public java.lang.Boolean getPassportEnable()
-
setPassportEnable
public void setPassportEnable(java.lang.Boolean passportEnable)
-
getSourceConfigs
public java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> getSourceConfigs()
-
setSourceConfigs
public void setSourceConfigs(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> sourceConfigs)
-
addSourceConfig
public void addSourceConfig()
-
addLdapConfig
public void addLdapConfig(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList)
- Specified by:
addLdapConfigin interfaceLdapConfigurationModel
-
removeLdapConfig
public void removeLdapConfig(java.util.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()
-
setActiveLdapConfig
public void setActiveLdapConfig(org.gluu.model.ldap.GluuLdapConfiguration activeLdapConfig)
- Specified by:
setActiveLdapConfigin interfaceLdapConfigurationModel
-
addItemToSimpleCustomProperties
public void addItemToSimpleCustomProperties(java.util.List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties)
- Specified by:
addItemToSimpleCustomPropertiesin interfaceSimpleCustomPropertiesListModel
-
removeItemFromSimpleCustomProperties
public void removeItemFromSimpleCustomProperties(java.util.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
public java.lang.String getRecaptchaSiteKey()
-
setRecaptchaSiteKey
public void setRecaptchaSiteKey(java.lang.String recaptchaSiteKey)
-
getRecaptchaSecretKey
public java.lang.String getRecaptchaSecretKey()
-
setRecaptchaSecretKey
public void setRecaptchaSecretKey(java.lang.String recaptchaSecretKey)
-
getOxTrustappConfiguration
public org.gluu.config.oxtrust.AppConfiguration getOxTrustappConfiguration()
-
setOxTrustappConfiguration
public void setOxTrustappConfiguration(org.gluu.config.oxtrust.AppConfiguration oxTrustappConfiguration)
-
-