com.engiweb.profilemanager.common.interfaces

Interface IPwdSyncCfgDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface IPwdSyncCfgDirect
    extends common.direct.IDirect
    The Interface IPwdSyncCfgDirect.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void addAccountCfg(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean, com.engiweb.pm.entity.BeanList<PwdCfgBean> pwdCfgBeanList, com.engiweb.pm.dao.db.DAO connDao)
      Add account configurations to the password sync configuration.
      com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyWordBean> addDictionary(com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyWordBean> blWB, com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean, com.engiweb.pm.dao.db.DAO dao)
      Adds a list of reserved words to an existing password policy
      void delete(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean, com.engiweb.pm.dao.db.DAO connDao)
      Deletes a existing pwd sync cfg.
      com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyBean> find(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao)
      Returns the pwd sync configuration filtered by a passed PwdPolicyBean object.
      com.engiweb.pm.entity.BeanList<PwdCfgBean> findAvailAccountCfg(PwdCfgBean pwdCfgBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao)
      Returns a list of account configurations that are not associated to any password sync configuration along with filtered by a passed PwdCfgBean object .
      com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyWordBean> findDictionary(com.engiweb.passwordservice.common.bean.PwdPolicyWordBean dictionaryBean, com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) 
      com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PasswordCfgCntBean> findPolicyProperties(com.engiweb.passwordservice.common.bean.PasswordCfgCntBean propBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) 
      com.engiweb.pm.entity.BeanList<PropertyBean> findPolicyProperties(PropertyBean propBean, com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncPolicyBean, com.engiweb.pm.dao.db.DAO dao)
      Returns a list of property beans assigned to a password policy.
      com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyPropertyBean> findPolicyProperties(com.engiweb.passwordservice.common.bean.PwdPolicyPropertyBean propBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) 
      com.engiweb.passwordservice.common.policies.PasswordMergeResult getMergedPasswordPolicy(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean, com.engiweb.pm.entity.BeanList<PwdCfgBean> pwdCfgBeanList, com.engiweb.pm.dao.db.DAO connDao) 
      com.engiweb.passwordservice.common.policies.PasswordPolicy getPasswordPolicy(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean, com.engiweb.pm.dao.db.DAO dao)
      Returns a password rules for this password policy.
      java.lang.String getUserSyncPassword(AccountBean accountBean, UserBean userBean, com.engiweb.passwordservice.common.bean.PwdPolicyBean policyBean, com.engiweb.pm.dao.db.DAO dao)
      Returns a user's synchronized password if there is one.
      com.engiweb.passwordservice.common.bean.PwdPolicyBean insert(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean, com.engiweb.pm.dao.db.DAO connDao)
      Adds a new pwd sync cfg if it does not exists yet.
      void modifyDictionary(com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyWordBean> blWB, com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean, com.engiweb.pm.dao.db.DAO dao)
      Updates a list of reserved words in an existing password policy
      void removeAccountCfg(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean, com.engiweb.pm.entity.BeanList<PwdCfgBean> pwdCfgBeanList, com.engiweb.pm.dao.db.DAO connDao)
      Remove account configurations from the password sync configuration.
      void removeDictionary(com.engiweb.pm.entity.BeanList blDB, com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean, com.engiweb.pm.dao.db.DAO dao)
      Removes a list of reserved words from an existing password policy
      void update(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean, com.engiweb.pm.dao.db.DAO dao)
      Updates an existing pwd password configuration.
      void updatePolicyProperties(com.engiweb.pm.entity.BeanList<PropertyBean> propBeanList, com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncPolicyBean, com.engiweb.pm.dao.db.DAO dao)
      Updates a list of property bean of an existing password policy
      • Methods inherited from interface common.direct.IDirect

        checkAB, deleteAB, insertAB, modifyAB, openDAO, openDAO
    • Method Detail

      • insert

        com.engiweb.passwordservice.common.bean.PwdPolicyBean insert(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean,
                                                                     com.engiweb.pm.dao.db.DAO connDao)
                                                              throws com.engiweb.toolkit.common.BackendException
        Adds a new pwd sync cfg if it does not exists yet.
        Parameters:
        pwdSyncCfgBean - PwdPolicyBean to insert (mandatory). The pwdsynccfg name is a mandatory field.
        connDao - DAO the connection dao
        Returns:
        PwdPolicyBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • delete

        void delete(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean,
                    com.engiweb.pm.dao.db.DAO connDao)
             throws com.engiweb.toolkit.common.BackendException
        Deletes a existing pwd sync cfg.
        Parameters:
        pwdSyncCfgBean - PwdPolicyBean to delete (mandatory). The pwdsynccfg name is a mandatory field.
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • find

        com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyBean> find(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean,
                                                                                                   com.engiweb.pm.entity.Paging paging,
                                                                                                   com.engiweb.pm.dao.db.DAO connDao)
                                                                                            throws com.engiweb.toolkit.common.BackendException
        Returns the pwd sync configuration filtered by a passed PwdPolicyBean object.
        Parameters:
        pwdSyncCfgBean - OrgUnitBean if null no filter is applied, otherwise the passed object is used as filter
        paging - Paging
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • update

        void update(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean,
                    com.engiweb.pm.dao.db.DAO dao)
             throws com.engiweb.toolkit.common.BackendException
        Updates an existing pwd password configuration.
        Parameters:
        pwdSyncCfgBean - PwdPolicyBean to modify (mandatory).
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findAvailAccountCfg

        com.engiweb.pm.entity.BeanList<PwdCfgBean> findAvailAccountCfg(PwdCfgBean pwdCfgBean,
                                                                       com.engiweb.pm.entity.Paging paging,
                                                                       com.engiweb.pm.dao.db.DAO connDao)
                                                                throws com.engiweb.toolkit.common.BackendException
        Returns a list of account configurations that are not associated to any password sync configuration along with filtered by a passed PwdCfgBean object .
        Parameters:
        pwdCfgBean - PwdCfgBean if null no filter is applied, otherwise the passed object is used as filter
        paging - Paging
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addAccountCfg

        void addAccountCfg(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean,
                           com.engiweb.pm.entity.BeanList<PwdCfgBean> pwdCfgBeanList,
                           com.engiweb.pm.dao.db.DAO connDao)
                    throws com.engiweb.toolkit.common.BackendException
        Add account configurations to the password sync configuration.
        Parameters:
        pwdSyncCfgBean - PwdPolicyBean to associate the account configurations (mandatory).
        pwdCfgBeanList - a list of PwdCfgBean objects that will be associated to the password sync configuration.
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAccountCfg

        void removeAccountCfg(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean,
                              com.engiweb.pm.entity.BeanList<PwdCfgBean> pwdCfgBeanList,
                              com.engiweb.pm.dao.db.DAO connDao)
                       throws com.engiweb.toolkit.common.BackendException
        Remove account configurations from the password sync configuration.
        Parameters:
        pwdSyncCfgBean - PwdPolicyBean to associate the account configurations (mandatory).
        pwdCfgBeanList - a list of PwdCfgBean objects that will be removed from the password sync configuration.
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • getMergedPasswordPolicy

        com.engiweb.passwordservice.common.policies.PasswordMergeResult getMergedPasswordPolicy(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncCfgBean,
                                                                                                com.engiweb.pm.entity.BeanList<PwdCfgBean> pwdCfgBeanList,
                                                                                                com.engiweb.pm.dao.db.DAO connDao)
                                                                                         throws com.engiweb.toolkit.common.BackendException
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findPolicyProperties

        com.engiweb.pm.entity.BeanList<PropertyBean> findPolicyProperties(PropertyBean propBean,
                                                                          com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncPolicyBean,
                                                                          com.engiweb.pm.dao.db.DAO dao)
                                                                   throws com.engiweb.toolkit.common.BackendException
        Returns a list of property beans assigned to a password policy.
        Parameters:
        propBean - PropertyBean if null no filter is applied, otherwise the passed object is used as filter
        pwdSyncPolicyBean - PwdPolicyBean whose assigned property beans are to be retrieved.
        dao - DAO the connection dao
        Returns:
        BeanList of PropertyBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • updatePolicyProperties

        void updatePolicyProperties(com.engiweb.pm.entity.BeanList<PropertyBean> propBeanList,
                                    com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdSyncPolicyBean,
                                    com.engiweb.pm.dao.db.DAO dao)
                             throws com.engiweb.toolkit.common.BackendException
        Updates a list of property bean of an existing password policy
        Parameters:
        propBeanList - BeanList of PropertyBean to modify.
        pwdSyncPolicyBean - PwdPolicyBean to which property beans must be modified. It must be uniquely defined.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • getUserSyncPassword

        java.lang.String getUserSyncPassword(AccountBean accountBean,
                                             UserBean userBean,
                                             com.engiweb.passwordservice.common.bean.PwdPolicyBean policyBean,
                                             com.engiweb.pm.dao.db.DAO dao)
                                      throws com.engiweb.toolkit.common.BackendException
        Returns a user's synchronized password if there is one. Returns empty if there is no synchronized password for the user
        Parameters:
        userBean - UserBean the person whose synchronized password will be returned. It must be uniquely defined.
        policyBean - PwdPolicyBean which password sync policy to use. It must be uniquely defined.
        dao - DAO the connection dao
        Returns:
        String password
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • getPasswordPolicy

        com.engiweb.passwordservice.common.policies.PasswordPolicy getPasswordPolicy(com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean,
                                                                                     com.engiweb.pm.dao.db.DAO dao)
                                                                              throws com.engiweb.toolkit.common.BackendException
        Returns a password rules for this password policy.
        Parameters:
        pwdSyncPolicyBean - PwdPolicyBean whose assigned property beans are to be retrieved.
        dao - DAO the connection dao
        Returns:
        PasswordPolicy of PwdPolicyBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • addDictionary

        com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyWordBean> addDictionary(com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyWordBean> blWB,
                                                                                                                com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean,
                                                                                                                com.engiweb.pm.dao.db.DAO dao)
                                                                                                         throws com.engiweb.toolkit.common.BackendException
        Adds a list of reserved words to an existing password policy
        Parameters:
        blWB - BeanList of PwdPolicyWordBean to add.
        pwdPolicyBean - PwdPolicyBean a password policy which list of reserved words to be added. It must be uniquely defined.
        dao - DAO the connection dao
        Returns:
        BeanList of DictionaryBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • modifyDictionary

        void modifyDictionary(com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyWordBean> blWB,
                              com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean,
                              com.engiweb.pm.dao.db.DAO dao)
                       throws com.engiweb.toolkit.common.BackendException
        Updates a list of reserved words in an existing password policy
        Parameters:
        blWB - BeanList of PwdPolicyWordBean to update.
        pwdPolicyBean - PwdPolicyBean a password policy which list of reserved words to be updated. It must be uniquely defined.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • removeDictionary

        void removeDictionary(com.engiweb.pm.entity.BeanList blDB,
                              com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean,
                              com.engiweb.pm.dao.db.DAO dao)
                       throws com.engiweb.toolkit.common.BackendException
        Removes a list of reserved words from an existing password policy
        Parameters:
        blWB - BeanList of PwdPolicyWordBean to remove.
        pwdPolicyBean - PwdPolicyBean a password policy which list of reserved words to be removed. It must be uniquely defined.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findDictionary

        com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyWordBean> findDictionary(com.engiweb.passwordservice.common.bean.PwdPolicyWordBean dictionaryBean,
                                                                                                                 com.engiweb.passwordservice.common.bean.PwdPolicyBean pwdPolicyBean,
                                                                                                                 com.engiweb.pm.entity.Paging paging,
                                                                                                                 com.engiweb.pm.dao.db.DAO connDao)
                                                                                                          throws com.engiweb.toolkit.common.BackendException
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findPolicyProperties

        com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PasswordCfgCntBean> findPolicyProperties(com.engiweb.passwordservice.common.bean.PasswordCfgCntBean propBean,
                                                                                                                        com.engiweb.pm.entity.Paging paging,
                                                                                                                        com.engiweb.pm.dao.db.DAO connDao)
                                                                                                                 throws com.engiweb.toolkit.common.BackendException
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findPolicyProperties

        com.engiweb.pm.entity.BeanList<com.engiweb.passwordservice.common.bean.PwdPolicyPropertyBean> findPolicyProperties(com.engiweb.passwordservice.common.bean.PwdPolicyPropertyBean propBean,
                                                                                                                           com.engiweb.pm.entity.Paging paging,
                                                                                                                           com.engiweb.pm.dao.db.DAO connDao)
                                                                                                                    throws com.engiweb.toolkit.common.BackendException
        Throws:
        com.engiweb.toolkit.common.BackendException