Class AbstractPasswordResource

    • Constructor Detail

      • AbstractPasswordResource

        public AbstractPasswordResource()
    • Method Detail

      • getComponentId

        public String getComponentId()
        Description copied from interface: SilverpeasWebResource
        Gets the identifier of the component instance to which the requested resource belongs to.
        Returns:
        the identifier of the Silverpeas component instance.
      • asWebEntity

        protected PasswordRuleEntity asWebEntity​(PasswordRule rule)
        Converts the password rule into its corresponding web entity.
        Parameters:
        rule - the password rule.
        Returns:
        the corresponding password rule entity.
      • asWebEntity

        protected PasswordCheckEntity asWebEntity​(PasswordCheck check)
        Converts the password check into its corresponding web entity.
        Parameters:
        check - the password check.
        Returns:
        the corresponding password check entity.
      • getLanguage

        protected String getLanguage()
        Due to the particularity of this WEB Service according to authentication, the language is handled at this level.
        Returns:
        the language code