as7/wildfly subsystem
This commit is contained in:
1 parent
d35861e33d
commit
93ef2d6fd3
30 files changed
+154
-168
No files matched your search
+2
-1
@@ -175,7 +175,8 @@ public class KeycloakAuthenticatorValve extends FormAuthenticator implements Lif
|
||||
}
|
||||
|
||||
protected boolean bearer(boolean challenge, Request request, HttpServletResponse response) throws LoginException, IOException {
|
||||
CatalinaBearerTokenAuthenticator bearer = new CatalinaBearerTokenAuthenticator(realmConfiguration.getMetadata(), challenge, adapterConfig.isUseResourceRoleMappings());
|
||||
boolean useResourceRoleMappings = adapterConfig.isUseResourceRoleMappings();
|
||||
CatalinaBearerTokenAuthenticator bearer = new CatalinaBearerTokenAuthenticator(resourceMetadata, challenge, useResourceRoleMappings);
|
||||
if (bearer.login(request, response)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user