-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Configure securityConfigure security principals
In a WebLogic resource adapter, you can either have a single security identity that can perform all functions, or use separate identities for separate classes of functions. You can define the following four types of security identities in the
weblogic-ra.xml deployment descriptor:
For more information, refer to "Configuring Security Identities for Resource Adapters."
- default principal: a security principal that can perform all resource adapter tasks
- run-as principal: a security principal used by calls from the connector container into the resource adapter code during connection requests.
- run-work-as principal: a security principal used for Work instances launched by the resource adapter.
- manage-as principal: a security principal used for resource adapter management tasks, such as startup, shutdown, testing, and transaction management.
To configure security principals for a resource adapter installed on WebLogic Server:
} } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i
- If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
- In the left pane, select Deployments.
- On the Summary of Deployments page, locate your resource adapter and click its name to open the Settings page for the resource adapter.
- On the Settings page for the resource adapter, expand Security > Principals.
- For each security identity, specify the principal for that security identity. This can be either:
- anonymous (no security identity needed)
- the default security identity
- the security identity of the calling code (Caller Id)
- a WebLogic username
- Click Save.