Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update css file name in conf.py
[policy/engine.git]
/
ONAP-PAP-REST
/
src
/
main
/
java
/
org
/
onap
/
policy
/
pap
/
xacml
/
restAuth
/
AuthenticationService.java
diff --git
a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/restAuth/AuthenticationService.java
b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/restAuth/AuthenticationService.java
index
ff84943
..
4e938ac
100644
(file)
--- a/
ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/restAuth/AuthenticationService.java
+++ b/
ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/restAuth/AuthenticationService.java
@@
-28,11
+28,11
@@
import java.util.StringTokenizer;
import org.onap.policy.common.logging.eelf.MessageCodes;
import org.onap.policy.common.logging.eelf.PolicyLogger;
import org.onap.policy.common.logging.eelf.MessageCodes;
import org.onap.policy.common.logging.eelf.PolicyLogger;
-import org.onap.policy.rest.X
ACML
RestProperties;
+import org.onap.policy.rest.X
acml
RestProperties;
import org.onap.policy.utils.PeCryptoUtils;
public class AuthenticationService {
import org.onap.policy.utils.PeCryptoUtils;
public class AuthenticationService {
- private String papId = XACMLProperties.getProperty(X
ACML
RestProperties.PROP_PAP_USERID);
+ private String papId = XACMLProperties.getProperty(X
acml
RestProperties.PROP_PAP_USERID);
private String papPass = null;
/**
private String papPass = null;
/**
@@
-51,9
+51,9
@@
public class AuthenticationService {
String usernameAndPassword = null;
try {
String usernameAndPassword = null;
try {
- String secretKey = XACMLProperties.getProperty(X
ACML
RestProperties.PROP_AES_KEY);
+ String secretKey = XACMLProperties.getProperty(X
acml
RestProperties.PROP_AES_KEY);
PeCryptoUtils.initAesKey(secretKey);
PeCryptoUtils.initAesKey(secretKey);
- papPass = PeCryptoUtils.decrypt(XACMLProperties.getProperty(X
ACML
RestProperties.PROP_PAP_PASS));
+ papPass = PeCryptoUtils.decrypt(XACMLProperties.getProperty(X
acml
RestProperties.PROP_PAP_PASS));
} catch (Exception e) {
PolicyLogger.error(e);
}
} catch (Exception e) {
PolicyLogger.error(e);
}