mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #99 from Kamidu/master
Removing unwanted debug comments
This commit is contained in:
commit
c600b2a3c9
@ -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 {
|
||||||
|
|||||||
@ -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