Sun Java System Access Manager 7 2005Q4 C API Reference

am_sso_get_property()

Gets the value of a session property.

Syntax

#include "am_sso.h"
AM_EXPORT const char *
am_sso_get_property(const am_sso_token_handle_t sso_token,
            const char *property_key, boolean_t check_if_session_valid);

Parameters

This function takes the following parameters:

sso_token_handle

The SSO token handle.

property_key

The name of property to get.

check_if_session_valid

Whether to check if session is valid first. If true and session is invalid, NULL will always be returned.

Returns

This function returns the value of the session property. NULL if property is not set or does not have a value.