Hi!

I'm trying to solve common problem in my application which works under
Merlin container. I need to check user rights to call lookup() on
ServiceManager for particular component.First thing that came to my mind is
to use decorated version of ServiceManager with small modification in its
interface.

public interface SecureServiceManager{

    boolean hasService(String key, Session session) throws
SecurityException;

    Object lookup(String key) throws ServiceException,SecurityException;

    void release(Object object);

}

Is it possible ,using for example lifecycle extension, implement it this way
or maybe you use another approach to this problem?

Jaroslaw Palka
Software Architect
MRT System
Wodna 2b
Krakow
Poland



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to