mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
renamed method name
This commit is contained in:
parent
d121e557b8
commit
0444f63a07
@ -49,7 +49,7 @@ public class BasicAuthAuthenticator implements WebappAuthenticator {
|
||||
|
||||
@Override
|
||||
public boolean canHandle(Request request) {
|
||||
if (!isSupportsAuthentication(request)) {
|
||||
if (!isAuthenticationSupported(request)) {
|
||||
return false;
|
||||
}
|
||||
MessageBytes authorization =
|
||||
@ -159,7 +159,7 @@ public class BasicAuthAuthenticator implements WebappAuthenticator {
|
||||
}
|
||||
}
|
||||
|
||||
private boolean isSupportsAuthentication(Request request) {
|
||||
private boolean isAuthenticationSupported(Request request) {
|
||||
String param = request.getContext().findParameter("basicAuth");
|
||||
return (param == null || !Boolean.parseBoolean(param));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user