From d86e3224e6a5af2bd2b713f93bea5e6677d3ebc2 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Fri, 22 Mar 2019 14:13:22 -0500 Subject: Batch, Remove unneeded Classes, refine, etc Issue-ID: AAF-789 Change-Id: I48b39bb79144b20dfac5ff61e41ea4f0035b8442 Signed-off-by: Instrumental --- .../main/java/org/onap/aaf/auth/org/Organization.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'auth/auth-core/src/main') 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 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 getIDs(AuthzTrans trans, String user, int escalate) throws OrganizationException ; + /* * * @param user @@ -555,6 +567,12 @@ public interface Organization { return false; } + @Override + public List getIDs(AuthzTrans trans, String user, int escalate) throws OrganizationException { + // TODO Auto-generated method stub + return null; + } + }; } -- cgit 1.2.3-korg