SecurityService Operations

The following table lists the SecurityService operations supported by EAServer. You can view these operations and their parameters in the Service Explorer after you have created a Sybase WorkSpace project.

Supported Security Operations

OperationInput ParametersOutput ParametersDescription

authenticate

username (string)

password (string)

authenticated (boolean)

Explicitly checks user credentials regardless of whether the business process container is authenticated or not.

authenticateautouser

Takes no input. Uses what comes in on the service transport.

authenticated (boolean)

user name (string)

Validates user credentials attached to the business process instance and returns the user name.

authorize

username (string)

password (string)

role (string)

authorized (boolean)

Explicitly checks user credentials and role membership regardless of whether the business process container is authenticated or not.

authorizeautouser

role (string)

authorized (boolean)

Validates user credentials attached to the business process instance is a member of the given role.

decrypt

profile (string )

ciphertext (string)

cleartext (string)

Decrypts the given string with the technologies associated with the specified security profile.

decryptautoprofile

ciphertext (string)

cleartext (string)

Decrypts the given string with the technologies associated with the specified security profile configured for the endpoint that initiates the business process.

encrypt

cleartext (string)

profile (string )

ciphertext (string)

Encrypts the given string with the technologies associated with the specified security profile.

encryptautoprofile

cleartext (string)

ciphertext (string)

Encrypts the given string with the technologies associated with the specified security profile configured for the endpoint that initiates the business process.

xmlencrypt

cleartext (string)

profile (string )

ciphertext (string)

Encrypts the given string with the technologies associated with the specified security profile. The resulting string is formatted using the XML Encryption schema.

xmlencryptautoprofile

cleartext (string)

ciphertext (string)

Encrypts the given string with the technologies associated with the specified security profile configured for the endpoint that initiates the business process. The resulting string is formatted using the XML Encryption schema.

xmldecrypt

cleartext (string)

profile (string )

ciphertext (string)

Decrypts the given string with the technologies associated with the specified security profile.The given string must be formatted using the XML Encryption schema.

xmldecryptautoprofile

ciphertext (string)

ciphertext (string)

Decrypts the given string with the technologies associated with the specified security profile configured for the endpoint that initiates the business process. The given string must be formatted using the XML Encryption schema.

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com