I have a portal application. User are registering via Portal.
In my SecurityInterceptor I need access user profile. I need to check username and role and perform simple logic.
The question is What is the best design for these requirements? (Maybe I will have another application server and perform business logic inside EJB container)
To create SecurityAdapter and pass it to Interceptor? SecurityAdapter cold be different for web and ejb container...
Is there better design?