summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/cql/temp_identity.cql
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-05-19 14:51:40 -0500
committerInstrumental <jonathan.gathman@att.com>2018-05-19 14:51:43 -0500
commitc8f8273a200559f87b883767758e4bda446dadfe (patch)
tree3939d56d835dc11ec0c132bdd829b0a0a3d4cb32 /auth/auth-cass/src/main/cql/temp_identity.cql
parent25864fd2cd04385c2cffd46aea5ca96b0d4a5e5c (diff)
Adjust temp_identity
Issue-ID: AAF-294 Change-Id: I8f8dbe1164c6ec492e35e13ec2ed088624f62244 Signed-off-by: Instrumental <jonathan.gathman@att.com>
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;
+