-
1. Re: RuleBasedIdentity.instance.getSecurityContext()
shane.bryzak Mar 14, 2007 8:20 AM (in response to venkateshbr)You're right. I've updated CVS to fix this - in the meantime you can just cast the result to RuleBasedIdentity.
-
2. Re: RuleBasedIdentity.instance.getSecurityContext()
venkateshbr Mar 15, 2007 4:27 AM (in response to venkateshbr)((RuleBasedIdentity) Identity.instance()) still doesn't give me getSecurityContext. am i doing anything wrong.
-
3. Re: RuleBasedIdentity.instance.getSecurityContext()
shane.bryzak Mar 15, 2007 8:02 AM (in response to venkateshbr)Do you have the drools libraries included in your ear file?
-
4. Re: RuleBasedIdentity.instance.getSecurityContext()
venkateshbr Mar 15, 2007 8:15 AM (in response to venkateshbr)no what i mean is this is a compile time error i am not able to cast to RuelBasedIdentity from Identity.getInstance.
((RuleBasedIdentity) Identity.instance()).getSecurityContext()
is this the correct syntax. atleast the eclipse codeassist doesn't show me this. -
5. Re: RuleBasedIdentity.instance.getSecurityContext()
venkateshbr Mar 16, 2007 12:59 AM (in response to venkateshbr)any clue on how to get an instance of RuleBasedIdentity bycasting.
i tried a couple of options but none of them seem to get an instance of RuleBasedIdentity to get hold of getSecurityContext.
1. (RuleBasedIdentity)RuleBasedIdentity.instance()
2. (RuleBasedIdentity)Identity.instance().
any other options?? -
6. Re: RuleBasedIdentity.instance.getSecurityContext()
venkateshbr Mar 16, 2007 1:10 AM (in response to venkateshbr)oh the drools jars were not being recognised in the classpath. it is working now. thanks for your reply.