MSenProviderPolicy Class Reference
This abstract class defines provider policy interface. The provider policy sets the conditions in which some service provider is capable to operate in. It is defining context, through which these (possibly remote) services may be contacted and used. The actual properties may include transport layer settings, like predefined Internet Access Point (IAP) ID. In addition, provider policy may declare, that certain service should only be contacted using certain identity provider (in ID-WSF). This can be achieved by mapping certain list of IDP IDs to a provider policy. Provider Policies are WSF wide settings, which are stored in WSF databases, and thus they are shared with all the actual Web Service Consumers (WSCs) accessing same services.
Example structure of ProviderPolicy XML fragment:
<ProviderPolicy> <Transport> <IapId> 1 </IapId> </Transport> <IdentityProviderIDs strict="true"> <IdentityProviderID> urn:first.id.example.com </IdentityProviderID> <IdentityProviderID> urn:second.id.example.com </IdentityProviderID> </IdentityProviderIDs> </ProviderPolicy> SenServDesc.lib
- Since
- Series60 3.0
Member Functions Documentation
Accepts(MSenProviderPolicy &)
Checks if some policy is accepted by current policy.
- Since
- Series60 3.0
AddIdentityProviderIdL(TDesC8 &)
TInt
| AddIdentityProviderIdL | ( | TDesC8 & | aProviderId | ) | [pure virtual] |
Adds a new IdentityProviderID value at the end of the current list values.
- Since
- Series60 3.0
IapId(TUint32 &)
Getter for IAP ID
- Since
- Series60 3.0
Parameters
TUint32 & aCurrentIapId | will contain the current Internet Access Point ID |
IdentityProviderIds8L()
Getter for IdentityProvider IDs.
- Since
- Series60 3.0
RebuildFrom(MSenProviderPolicy &)
Method reads provider policy class instance values from given template. Values may include an IAP ID, preferred IdentityProvider IDs etc.
- Since
- Series60 3.0
SetIapIdL(TUint32)
void | SetIapIdL | ( | TUint32 | aIapId | ) | [pure virtual] |
Setter for Internet Access Point (IAP) ID. Method is used to define default access point to avoid IAP selection dialog prompt.
- Since
- Series60 3.0
Parameters
TUint32 aIapId | is the ID found from CommDB. |
SetIdentityProviderIdsL(CSenIdentityProviderIdArray8 &)
Setter for IdentityProvider IDs. Overrides current values with the given values from the array. When initiating a new service connection, this list of ProviderIDs define, which IdentityProviders are preferred OR which are strictly acceptable ones.
- Since
- Series60 3.0
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.