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.Serializable
Action 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 void
addField(org.gluu.model.passport.PassportConfiguration removePassportConfiguration)
void
addItemToSimpleCustomProperties(java.util.List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties)
void
addItemToSimpleProperties(java.util.List<org.gluu.model.SimpleProperty> simpleProperties)
void
addLdapConfig(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList)
void
addSourceConfig()
void
addStrategy()
java.lang.String
cancel()
org.gluu.model.ldap.GluuLdapConfiguration
getActiveLdapConfig()
java.lang.String
getAuthenticationMode()
java.lang.String
getId(java.lang.Object obj)
org.gluu.config.oxtrust.AppConfiguration
getOxTrustappConfiguration()
java.lang.String
getOxTrustAuthenticationMode()
java.lang.Boolean
getPassportEnable()
java.util.List<java.lang.String>
getPersonAuthenticationConfigurationNames()
java.lang.String
getRecaptchaSecretKey()
java.lang.String
getRecaptchaSiteKey()
java.util.List<org.gluu.model.ldap.GluuLdapConfiguration>
getSourceConfigs()
boolean
isAuthenticationRecaptchaEnabled()
boolean
isExistLdapConfigIdpAuthConf()
boolean
isInitialized()
java.lang.String
modify()
java.lang.String
modifyImpl()
void
removeItemFromSimpleCustomProperties(java.util.List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties, org.gluu.model.SimpleCustomProperty simpleCustomProperty)
void
removeItemFromSimpleProperties(java.util.List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty)
void
removeLdapConfig(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList, org.gluu.model.ldap.GluuLdapConfiguration removeLdapConfig)
void
removeStrategy(org.gluu.model.passport.PassportConfiguration removePassportConfiguration)
java.lang.String
save()
void
setActiveLdapConfig(org.gluu.model.ldap.GluuLdapConfiguration activeLdapConfig)
void
setAuthenticationMode(java.lang.String authenticationMode)
void
setAuthenticationRecaptchaEnabled(boolean authenticationRecaptchaEnabled)
void
setOxTrustappConfiguration(org.gluu.config.oxtrust.AppConfiguration oxTrustappConfiguration)
void
setOxTrustAuthenticationMode(java.lang.String oxTrustAuthenticationMode)
void
setPassportEnable(java.lang.Boolean passportEnable)
void
setRecaptchaSecretKey(java.lang.String recaptchaSecretKey)
void
setRecaptchaSiteKey(java.lang.String recaptchaSiteKey)
void
setSourceConfigs(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> sourceConfigs)
java.lang.String
testLdapConnection(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig)
boolean
updateAuthConf(GluuConfiguration configuration)
void
updateBindPassword()
java.lang.String
updateLdapBindPassword(java.lang.String bindPassword)
void
updateLdapBindPassword(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:
addItemToSimpleProperties
in interfaceSimplePropertiesListModel
-
removeItemFromSimpleProperties
public void removeItemFromSimpleProperties(java.util.List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty)
- Specified by:
removeItemFromSimpleProperties
in 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:
addLdapConfig
in interfaceLdapConfigurationModel
-
removeLdapConfig
public void removeLdapConfig(java.util.List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList, org.gluu.model.ldap.GluuLdapConfiguration removeLdapConfig)
- Specified by:
removeLdapConfig
in 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:
setActiveLdapConfig
in interfaceLdapConfigurationModel
-
addItemToSimpleCustomProperties
public void addItemToSimpleCustomProperties(java.util.List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties)
- Specified by:
addItemToSimpleCustomProperties
in interfaceSimpleCustomPropertiesListModel
-
removeItemFromSimpleCustomProperties
public void removeItemFromSimpleCustomProperties(java.util.List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties, org.gluu.model.SimpleCustomProperty simpleCustomProperty)
- Specified by:
removeItemFromSimpleCustomProperties
in 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)
-
-