SecurityService Operations

The following table lists SecurityService operations that EAServer supports. The operations and their parameters display in Sybase WorkSpace in the Service Explorer after you create a Sybase WorkSpace project. For more information about the Service Explorer and Sybase WorkSpace projects, see the Sybase WorkSpace Development collection.

Table 1. Supported security operations
Operation Input parameters Output parameters Description
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.
Related tasks
Securing Access within a Business Process Service
Encrypting Data Flow in a Business Process Service

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.