summaryrefslogtreecommitdiffstats
path: root/auth/auth-core/src/main/java
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-03-22 14:13:22 -0500
committerInstrumental <jonathan.gathman@att.com>2019-03-22 14:14:25 -0500
commitd86e3224e6a5af2bd2b713f93bea5e6677d3ebc2 (patch)
treee348a186ae270463024c1b3d44113a08135ca957 /auth/auth-core/src/main/java
parente3163b2d5609753f874e2f52fd5ef67fa063af7a (diff)
Batch, Remove unneeded Classes, refine, etc
Issue-ID: AAF-789 Change-Id: I48b39bb79144b20dfac5ff61e41ea4f0035b8442 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-core/src/main/java')
-rw-r--r--auth/auth-core/src/main/java/org/onap/aaf/auth/org/Organization.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/org/Organization.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/org/Organization.java
index 69cfc7d7..597f2696 100644
--- a/auth/auth-core/src/main/java/org/onap/aaf/auth/org/Organization.java
+++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/org/Organization.java
@@ -290,7 +290,19 @@ public interface Organization {
* @return
*/
public List<Identity> getApprovers(AuthzTrans trans, String user) throws OrganizationException ;
+
+ /**
+ * Get Identities for Escalation Level
+ * 1 = self
+ * 2 = expects both self and immediate responsible party
+ * 3 = expects self, immediate report and any higher that the Organization wants to escalate to in the
+ * hierarchy.
+ *
+ * Note: this is used to notify of imminent danger of Application's Cred or Role expirations.
+ */
+ public List<Identity> getIDs(AuthzTrans trans, String user, int escalate) throws OrganizationException ;
+
/*
*
* @param user
@@ -555,6 +567,12 @@ public interface Organization {
return false;
}
+ @Override
+ public List<Identity> getIDs(AuthzTrans trans, String user, int escalate) throws OrganizationException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
};
}