[keycloak-user] Add new filter for RealmResourceProvider

GU STONE stone_gu at hotmail.com
Thu Apr 20 16:25:29 EDT 2017


Hello,

I have some customized provider implements RealmResourceProvider, something likes this:

public class UserProvider implements RealmResourceProvider {
   ...
   @Path("/{username}/pre-authentication")
   @PUT
   @Produces(MediaType.APPLICATION_JSON)
   public Response validateAuthenticationRequest(@PathParam("username") String username, @HeaderParam("Authorization") String authorization) {
   }
   ...
}

Everytime I put a rest call to this provider, and I can see 'keycloakSessionServletFilter' is already passed. My question is: Can I add extra filter after 'keycloakSessionServletFilter'? and How?


Thanks!

Stone


More information about the keycloak-user mailing list