Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add new tests to CLAMP
[clamp.git]
/
src
/
main
/
java
/
org
/
onap
/
clamp
/
clds
/
service
/
SecureServiceBase.java
diff --git
a/src/main/java/org/onap/clamp/clds/service/SecureServiceBase.java
b/src/main/java/org/onap/clamp/clds/service/SecureServiceBase.java
index
19813eb
..
acbd8bb
100644
(file)
--- a/
src/main/java/org/onap/clamp/clds/service/SecureServiceBase.java
+++ b/
src/main/java/org/onap/clamp/clds/service/SecureServiceBase.java
@@
-23,6
+23,9
@@
package org.onap.clamp.clds.service;
package org.onap.clamp.clds.service;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+
import java.security.Principal;
import javax.ws.rs.NotAuthorizedException;
import java.security.Principal;
import javax.ws.rs.NotAuthorizedException;
@@
-31,9
+34,6
@@
import javax.ws.rs.core.SecurityContext;
import org.onap.clamp.clds.util.LoggingUtils;
import org.onap.clamp.clds.util.LoggingUtils;
-import com.att.eelf.configuration.EELFLogger;
-import com.att.eelf.configuration.EELFManager;
-
/**
* Base/abstract Service class. Implements shared security methods.
*/
/**
* Base/abstract Service class. Implements shared security methods.
*/
@@
-185,4
+185,9
@@
public abstract class SecureServiceBase {
userNameHandler = handler;
}
}
userNameHandler = handler;
}
}
+
+ public void setSecurityContext(SecurityContext securityContext) {
+ this.securityContext = securityContext;
+ }
+
}
}