aboutsummaryrefslogtreecommitdiff
path: root/perl/sql/wallet-1.3-update-duo.sql
diff options
context:
space:
mode:
authorJon Robertson <jonrober@stanford.edu>2015-04-17 13:41:52 -0700
committerJon Robertson <jonrober@stanford.edu>2015-06-08 15:24:34 -0700
commitfeacbd7d685b1790579f949b3e72a48412835d92 (patch)
tree10a123e9919cc85ebc3170ff2cd13011a189dfe4 /perl/sql/wallet-1.3-update-duo.sql
parent0f943b75d34623b6825a0acf34ee2cd965bc6799 (diff)
Merged all Duo objects into one module
To handle local proliferation of Duo integration type requests, all Duo types have been merged into one module that will pick up and decide integration specifics off of the object type. If you are using the Duo types locally already, you'll want to load perl/sql/wallet-1.3-update-duo.sql to your database to update the old object types to all use the Duo module. All existing Duo integrations have been added to the module for handling, but nothing new has been added to the wallet object types. Since there are a lot of Duo integrations, sites should only manually add the ones they're interested in to the wallet types table. Change-Id: If9c9a0a3e77923354f31d8f9c98a519c93df200b
Diffstat (limited to 'perl/sql/wallet-1.3-update-duo.sql')
-rw-r--r--perl/sql/wallet-1.3-update-duo.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/perl/sql/wallet-1.3-update-duo.sql b/perl/sql/wallet-1.3-update-duo.sql
new file mode 100644
index 0000000..affadcd
--- /dev/null
+++ b/perl/sql/wallet-1.3-update-duo.sql
@@ -0,0 +1,9 @@
+--
+-- Run on installing wallet 1.3 in order to update what the Duo types
+-- point to for modules.
+--
+
+UPDATE types set ty_class='Wallet::Object::Duo' where ty_name='duo-ldap';
+UPDATE types set ty_class='Wallet::Object::Duo' where ty_name='duo-pam';
+UPDATE types set ty_class='Wallet::Object::Duo' where ty_name='duo-radius';
+UPDATE types set ty_class='Wallet::Object::Duo' where ty_name='duo-rdp';