Valuetype UserPassword::PasswordGenerator

Valuetype UserPassword::PasswordGenerator

valuetype PasswordGenerator
This valuetype is an generator that represents one principal but may have many different names and passwords under different realms.

An application writer extends each of the generated implementations of each operation of this valuetype.

Operation Index

client_authentication_principal
This operation returns the PrincipalName of the represented local principal for the credentials.
generate_password
This operation returns true if for a given target realm, a user name exists with a password.

Operations

client_authentication_principal
SecurityLevel3::PrincipalName client_authentication_principal();

This operation returns the PrincipalName of the represented local principal for the credentials. The principal named here, will show up as a quoting principal over any transport principal the CSI Credentials are based upon. An outcall from the security service is made on this operation once. It is made when the credentials are being created.

generate_password
ErrorCode generate_password(in SecurityLevel3::PrincipalName target,
                            out wstring username,
                            out wstring password);

This operation returns true if for a given target realm, a user name exists with a password. An outcall from the security service is made on this operation every time a context needs to be established with the target, creating a CSI Client Authentication Token using the CSI GSSUP Client Authentication Mechanism.

Parameters:
target - The name of the Client Authentication realm of the target.
username - Return of the username for the requested realm.
password - Return of the password for the username.
Returns:
True if username and password are found for the target, and username and password contain meaningful values.

Generated by the ORBacus IDL-to-HTML translator