# Role-Based Security and EJB Development

> > o
> > run-as, run-as-identity-principal. When I set this,
> > use-caller-identity needs to be set to false. Vice versa,
> > when the latter is set to true, values of the former
> > attributes are simply ignored. User should be better
> > informed about the interactions?
> >
< seth>
Its not possible to specify both of these in the DDs. You pick either one or the
other. Maybe the IDE needs to enforce this.
< /seth>

## Related Topics