<div dir="ltr"><div><div><div><div><div><div>Hello Mailinglist,<br><br></div>I would like to use undertow for creating REST APIs. <br></div>I also would like to use HTTPS for communcation between client and server.<br></div>The user should authenticate itself with a client certificate. On the<br></div>server should be a component which takes the client certificate and<br></div>uses some other service (properties file, database, ...) to which roles<br></div><div>the user has (and therefor if and what parts of the REST API he can use).<br><br></div><div>I think I know how to listen only to HTTPS, but I&#39;m not sure how to extract<br></div><div>the relevant bits from the client certificate and how to set the groups/roles.<br><br></div><div>The solution should be compatible with the Servlet API. Is there some example<br></div><div>code which I could look up, or some tutorial describing what I required?<br><br></div><div>Best regards,<br></div><div>Dieter<br></div></div>