SecurityContextTokenManager.RequestTokenFromIssuer Method
Sends a request for a SecurityContextToken to the specified security token service.
Namespace: Microsoft.Web.Services2.Security.Tokens
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Public Class securityContextTokenManagerImplementation
Inherits SecurityContextTokenManager
Protected Overrides Function RequestTokenFromIssuer(tokenIssuer As EndpointReference, _
appliesTo As EndpointReference, _
baseToken As SecurityToken, _
issuerToken As SecurityToken)
MyBase.RequestTokenFromIssuer(tokenIssuer, appliesTo, baseToken, issuerToken)
End Function
End Class
Syntax
'Declaration
Protected Overridable Function RequestTokenFromIssuer( _
ByVal tokenIssuer As EndpointReference, _
ByVal appliesTo As EndpointReference, _
ByVal baseToken As SecurityToken, _
ByVal issuerToken As SecurityToken _
) As SecurityContextToken
protected virtual SecurityContextToken RequestTokenFromIssuer(
EndpointReference tokenIssuer,
EndpointReference appliesTo,
SecurityToken baseToken,
SecurityToken issuerToken
);
protected: SecurityContextToken^ RequestTokenFromIssuer(
EndpointReference^ tokenIssuer,
EndpointReference^ appliesTo,
SecurityToken^ baseToken,
SecurityToken^ issuerToken
);
protected SecurityContextToken RequestTokenFromIssuer(
EndpointReference tokenIssuer,
EndpointReference appliesTo,
SecurityToken baseToken,
SecurityToken issuerToken
);
protected function RequestTokenFromIssuer(
tokenIssuer : EndpointReference,
appliesTo : EndpointReference,
baseToken : SecurityToken,
issuerToken : SecurityToken
) : SecurityContextToken;
Parameters
- tokenIssuer
The EndpointReference of the security token service to request the security token from.
- appliesTo
The EndpointReference of the target Web service that the SecurityContextToken will be sent to.
- baseToken
- issuerToken
Return Value
The SecurityContextToken returned from the security token service when the security token request succeeds.
Remarks
The LoadTokenFromSecurityTokenAssertion method calls the RequestTokenFromIssuermethod when the policy assertion does not contain a SecurityContextToken and one cannot be obtained from the PolicyEnforcementSecurityTokenCache.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
SecurityContextTokenManager Class
Microsoft.Web.Services2.Security.Tokens Namespace