This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: extending seam Idenity with a domainkoenhandekyn Oct 11, 2007 5:44 AM (in response to koenhandekyn)the only thing i found so far is a class parameter in components.xml cfr below 
 <security:identity
 authenticate-method="#{authenticator.authenticate}"
 class="up.seam.UpIdentity"
 auto-create="true" />
 this however dos NOT make seam use my extended identity class
- 
        2. Re: extending seam Idenity with a domainatao Oct 11, 2007 7:10 AM (in response to koenhandekyn)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
 
    