Declare your new Identity class with something like:
| @Name("org.jboss.seam.security.identity")
| @Scope(SESSION)
| @Install(precedence = APPLICATION)
| @BypassInterceptors
| @Startup
| public class ExtendedIdentity extends RuleBasedIdentity
|
the point here is the @Install(precedence = APPLICATION) which has higher priority than:
- @Install(precedence=FRAMEWORK) for RuleBasedIdentity
- or @Install(precedence = BUILT_IN) for Identity
Change nothing in components.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093981#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...