Returns a security request object to send to the back-end.
A request to the back-end system contains the required security data: what security token is needed and where to place it in the request. This method retrieves the appropriate security data.
We differentiate between the token created at login phase, called an incoming token, and the token required to send requests to back-end systems, called an outgoing token. This method returns the suitable security token according the security requirements of the identity management system.
RequestSecurityTokenData getSecurityToken(
java.lang.String ,
java.lang.String
)
|
Parameters
- userName
- the name of the user the security token should be provided for
- dataSourceUrl
- represents a back-end system.
Return Value
an object that stores the required security token data in order to populate it within the request.