I guess you could perhaps fetch this from the https connection in an interceptor. The connection is stored in the message.

A much simpler way would be to simply use a config file or a -D parameter at server start that tells your app which DN to check for.

Christian



Am 09.03.2011 15:26, schrieb Jérôme Revillard:
Exactly, I want one of our specific service to be accessible only by the
container certificate. So I will compare the user principal with the
container one.

Do I have to do a specific interceptor for that? if yes, where can I
retrieve this info from the message?

Jerome

Le 09/03/2011 15:22, Christian Schneider a écrit :
Hmm .. you mean the DN the server certifacte contains?
Why would you need that at runtime? Do you want to detect the
environment you run in?

Christian


Am 09.03.2011 15:15, schrieb Jérôme Revillard:
Oups.. I misread your email too :-) ... As I said previously, I need the
container identity not the user one.

Best,
Jerome

--
----
http://www.liquid-reality.de

Reply via email to