[jboss-user] [JBoss Seam] - Re: extending seam Idenity with a domain

2007-10-11 Thread 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

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093949#4093949

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: extending seam Idenity with a domain

2007-10-11 Thread atao
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=bbop=viewtopicp=4093981#4093981

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093981
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user