Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Mass whitespace changes (Style Warnings)
[aaf/authz.git]
/
cadi
/
core
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
cadi
/
lur
/
ConfigPrincipal.java
diff --git
a/cadi/core/src/main/java/org/onap/aaf/cadi/lur/ConfigPrincipal.java
b/cadi/core/src/main/java/org/onap/aaf/cadi/lur/ConfigPrincipal.java
index
c1b477b
..
a41c5eb
100644
(file)
--- a/
cadi/core/src/main/java/org/onap/aaf/cadi/lur/ConfigPrincipal.java
+++ b/
cadi/core/src/main/java/org/onap/aaf/cadi/lur/ConfigPrincipal.java
@@
-57,10
+57,10
@@
public class ConfigPrincipal implements Principal, GetCred {
}
public String getAsBasicAuthHeader() throws IOException {
}
public String getAsBasicAuthHeader() throws IOException {
- if(content ==null) {
+ if
(content ==null) {
String s = name + ':' + new String(cred);
content = "Basic " + Symm.base64.encode(s);
String s = name + ':' + new String(cred);
content = "Basic " + Symm.base64.encode(s);
- } else if(!content.startsWith("Basic ")) { // content is the saved password from construction
+ } else if
(!content.startsWith("Basic ")) { // content is the saved password from construction
String s = name + ':' + content;
content = "Basic " + Symm.base64.encode(s);
}
String s = name + ':' + content;
content = "Basic " + Symm.base64.encode(s);
}