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 Details

    • ManagePersonAuthenticationAction

      public ManagePersonAuthenticationAction()
  • Method Details

    • isAuthenticationRecaptchaEnabled

      public boolean isAuthenticationRecaptchaEnabled()
    • setAuthenticationRecaptchaEnabled

      public void setAuthenticationRecaptchaEnabled(boolean authenticationRecaptchaEnabled)
    • modify

      public String modify()
    • modifyImpl

      public String modifyImpl()
    • save

      public String save() throws IOException
      Throws:
      IOException
    • cancel

      public String cancel()
    • updateAuthConf

      public boolean updateAuthConf(GluuConfiguration configuration)
    • getPersonAuthenticationConfigurationNames

      public List<String> getPersonAuthenticationConfigurationNames()
    • testLdapConnection

      public String testLdapConnection(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig)
    • updateLdapBindPassword

      public void updateLdapBindPassword(org.gluu.model.ldap.GluuLdapConfiguration ldapConfig)
    • updateLdapBindPassword

      public String updateLdapBindPassword(String bindPassword)
    • isExistLdapConfigIdpAuthConf

      public boolean isExistLdapConfigIdpAuthConf()
    • addItemToSimpleProperties

      public void addItemToSimpleProperties(List<org.gluu.model.SimpleProperty> simpleProperties)
      Specified by:
      addItemToSimpleProperties in interface SimplePropertiesListModel
    • removeItemFromSimpleProperties

      public void removeItemFromSimpleProperties(List<org.gluu.model.SimpleProperty> simpleProperties, org.gluu.model.SimpleProperty simpleProperty)
      Specified by:
      removeItemFromSimpleProperties in interface SimplePropertiesListModel
    • getAuthenticationMode

      public String getAuthenticationMode()
    • setAuthenticationMode

      public void setAuthenticationMode(String authenticationMode)
    • getOxTrustAuthenticationMode

      public String getOxTrustAuthenticationMode()
    • setOxTrustAuthenticationMode

      public void setOxTrustAuthenticationMode(String oxTrustAuthenticationMode)
    • isInitialized

      public boolean isInitialized()
    • getId

      public String getId(Object obj)
    • addStrategy

      public void addStrategy()
    • addField

      public void addField(org.gluu.model.passport.PassportConfiguration removePassportConfiguration)
    • getPassportEnable

      public Boolean getPassportEnable()
    • setPassportEnable

      public void setPassportEnable(Boolean passportEnable)
    • getSourceConfigs

      public List<org.gluu.model.ldap.GluuLdapConfiguration> getSourceConfigs()
    • setSourceConfigs

      public void setSourceConfigs(List<org.gluu.model.ldap.GluuLdapConfiguration> sourceConfigs)
    • addSourceConfig

      public void addSourceConfig()
    • addLdapConfig

      public void addLdapConfig(List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList)
      Specified by:
      addLdapConfig in interface LdapConfigurationModel
    • removeLdapConfig

      public void removeLdapConfig(List<org.gluu.model.ldap.GluuLdapConfiguration> ldapConfigList, org.gluu.model.ldap.GluuLdapConfiguration removeLdapConfig)
      Specified by:
      removeLdapConfig in interface LdapConfigurationModel
    • 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:
      setActiveLdapConfig in interface LdapConfigurationModel
    • addItemToSimpleCustomProperties

      public void addItemToSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties)
      Specified by:
      addItemToSimpleCustomProperties in interface SimpleCustomPropertiesListModel
    • removeItemFromSimpleCustomProperties

      public void removeItemFromSimpleCustomProperties(List<org.gluu.model.SimpleCustomProperty> simpleCustomProperties, org.gluu.model.SimpleCustomProperty simpleCustomProperty)
      Specified by:
      removeItemFromSimpleCustomProperties in interface SimpleCustomPropertiesListModel
    • removeStrategy

      public void removeStrategy(org.gluu.model.passport.PassportConfiguration removePassportConfiguration)
    • getRecaptchaSiteKey

      public String getRecaptchaSiteKey()
    • setRecaptchaSiteKey

      public void setRecaptchaSiteKey(String recaptchaSiteKey)
    • getRecaptchaSecretKey

      public String getRecaptchaSecretKey()
    • setRecaptchaSecretKey

      public void setRecaptchaSecretKey(String recaptchaSecretKey)
    • getOxTrustappConfiguration

      public org.gluu.config.oxtrust.AppConfiguration getOxTrustappConfiguration()
    • setOxTrustappConfiguration

      public void setOxTrustappConfiguration(org.gluu.config.oxtrust.AppConfiguration oxTrustappConfiguration)