summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/cql/temp_identity.cql
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-cass/src/main/cql/temp_identity.cql')
-rw-r--r--auth/auth-cass/src/main/cql/temp_identity.cql8
1 files changed, 6 insertions, 2 deletions
diff --git a/auth/auth-cass/src/main/cql/temp_identity.cql b/auth/auth-cass/src/main/cql/temp_identity.cql
index ba6e7828..7ca31203 100644
--- a/auth/auth-cass/src/main/cql/temp_identity.cql
+++ b/auth/auth-cass/src/main/cql/temp_identity.cql
@@ -1,8 +1,12 @@
USE authz;
+// Create Root pass
+INSERT INTO cred (id,ns,type,cred,expires)
+ VALUES ('initial@osaaf.org','org.osaaf',1,0xdd82c1882969461de74b46427961ea2c,'2099-12-31') using TTL 14400;
INSERT INTO user_role(user,role,expires,ns,rname)
- VALUES ('jonathan@people.osaaf.org','org.admin','2099-12-31','org','admin') ;
+ VALUES ('initial@osaaf.org','org.admin','2099-12-31','org','admin') using TTL 14400;
INSERT INTO user_role(user,role,expires,ns,rname)
- VALUES ('jonathan@people.osaaf.org','org.osaaf.aaf.admin','2099-12-31','org.osaaf.aaf','admin') ;
+ VALUES ('initial@osaaf.org','org.osaaf.aaf.admin','2099-12-31','org.osaaf.aaf','admin') using TTL 14400;
+