On 25 May 2008, at 25/05/2008 7:57PM, Maurice Marrink wrote:
You need to assign principals to subjects yourself in the
LoginContext, Swarm does not make any automatic assumptions for you.
Ok.



- can I set up two different ComponentPermissions for two instances of the same type of component (eg SecureTextField)?: it looks like the declarative
permissions are on a class basis rather than instance basis.

Sure, i'm guessing you have mostly seen permissions dealing with the
entire page but you can just as easy append a componentpath:
permission ${ComponentPermission}
"org.SomePage:container:myForm:textfield1" "render"; //full path
specified
 thanks - I hadn't yet seen the componentpath capability anywhere.

Cheers,
 Tim



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to