src/main/java/org/keycloak/protocol/cas/CASLoginProtocolFactory.java
@@ -86,8 +86,8 @@ } @Override public Object createProtocolEndpoint(RealmModel realm, EventBuilder event) { return new CASLoginProtocolService(realm, event); public Object createProtocolEndpoint(KeycloakSession session, EventBuilder event) { return new CASLoginProtocolService(session, event); } @Override