Class: com.sybase.djc.ant.RunAsProperty (Run As Property) | EAServer 6.3 Help |
---|
Description | Configures calls to a component or method to temporarily run with a specified security role (and optionally, caller principal). |
---|---|
Configuration |
Example:
<setProperties component="ejb.components.example.MyCompRemote"> <runAs role="manager-role"/> <runAs method="myOtherMethod(java.lang.String)" role="other-role" principal="other-principal"/> ... </setProperties> |
Nested Properties | method, principal, role |
Property: method (Method) | |
---|---|
Description | Name and signature of method for method-specific application of this property, e.g. "myMethod(int, java.lang.String)". |
Property: principal (Principal) | |
---|---|
Description | Name of caller principal (user) to be temporarily assumed. |
Property: role (Role) | |
---|---|
Description | Required. Name of security role to be temporarily assumed. |