added log
This commit is contained in:
parent
269592914f
commit
7d3e9544f5
|
@ -18,7 +18,7 @@ public class IAMClientIdentity implements GcubeIdentity {
|
|||
private String previousUMAToken = null;
|
||||
|
||||
private String currentUMAToken = null;
|
||||
|
||||
|
||||
private String clientId = null;
|
||||
|
||||
private static final String IAM_CLIENT_CREDENTIALS = "IAM_CLIENT_CREDENTIALS";
|
||||
|
@ -27,6 +27,7 @@ public class IAMClientIdentity implements GcubeIdentity {
|
|||
public void setIdentity(HttpServletRequest httpRequest) throws Exception {
|
||||
LOG.info("setIdentity called");
|
||||
String currentScope = SessionUtil.getCurrentContext(httpRequest, true);
|
||||
LOG.info("the scope is {}", currentScope);
|
||||
IAMClientCredentials credentials = sessionGetIAMClientCredentials(httpRequest);
|
||||
try {
|
||||
if (credentials == null) {
|
||||
|
@ -126,8 +127,8 @@ public class IAMClientIdentity implements GcubeIdentity {
|
|||
|
||||
@Override
|
||||
public String getIdentityDescription() {
|
||||
return "ClientId: "+ clientId;
|
||||
|
||||
return "ClientId: " + clientId;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue