mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removing unwanted debug comments
This commit is contained in:
parent
30768bba71
commit
057a55a3ab
@ -73,10 +73,6 @@ public class JWTAuthenticator implements WebappAuthenticator {
|
|||||||
authenticationInfo.setStatus(Status.CONTINUE);
|
authenticationInfo.setStatus(Status.CONTINUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (log.isDebugEnabled()) {
|
|
||||||
log.debug("Authenticating using JWT header.");
|
|
||||||
}
|
|
||||||
|
|
||||||
//Get the filesystem keystore default primary certificate
|
//Get the filesystem keystore default primary certificate
|
||||||
KeyStoreManager keyStoreManager = KeyStoreManager.getInstance(MultitenantConstants.SUPER_TENANT_ID);
|
KeyStoreManager keyStoreManager = KeyStoreManager.getInstance(MultitenantConstants.SUPER_TENANT_ID);
|
||||||
try {
|
try {
|
||||||
|
|||||||
@ -141,9 +141,6 @@ public class OAuthAuthenticator implements WebappAuthenticator {
|
|||||||
tokenValue = tokenValue.substring(matcher.end());
|
tokenValue = tokenValue.substring(matcher.end());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (log.isDebugEnabled()) {
|
|
||||||
log.debug("Oauth Token : " + tokenValue);
|
|
||||||
}
|
|
||||||
return tokenValue;
|
return tokenValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -86,10 +86,6 @@ public class PermissionAuthorizer {
|
|||||||
return WebappAuthenticator.Status.FAILURE;
|
return WebappAuthenticator.Status.FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (log.isDebugEnabled()) {
|
|
||||||
log.debug("Is user authorized: " + isUserAuthorized);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isUserAuthorized) {
|
if (isUserAuthorized) {
|
||||||
return WebappAuthenticator.Status.SUCCESS;
|
return WebappAuthenticator.Status.SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user