[jboss-user] [JBoss Seam] - Re: extending seam Idenity with a domain
atao
do-not-reply at jboss.com
Thu Oct 11 07:10:44 EDT 2007
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#4093981
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093981
More information about the jboss-user
mailing list