In the case of that particular event, it will only be triggered under
specific circumstances.
See :
org.glassfish.grizzly.http.server.util.RequestUtils.populateCertificateAttribute(final
Request request).
On 6/21/11 7:29 AM, yangjun2 wrote:
> Hi,
> When I debug SSLFilter handleEvent() method,but no hit it.
>
> @Override
> public NextAction handleEvent(FilterChainContext ctx, FilterChainEvent
> event) throws IOException {
> if (event.type() == CertificateEvent.TYPE) {
> final CertificateEvent ce = (CertificateEvent) event;
> ce.certs =
> getPeerCertificateChain(getSSLEngine(ctx.getConnection()),
> ctx,
> ce.needClientAuth);
> return ctx.getStopAction();
> }
> return ctx.getInvokeAction();
> }
>
> -----
> Best Regards.
> yangjun
> --
> View this message in context: http://grizzly.1045725.n5.nabble.com/How-to-use-EventResolver-tp4510665p4510797.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.