Sun Java System Access Manager 7 2005Q4 C API Reference

am_sso_get_principal_set()

Gets the set of principals of this session. A session can have more than one principal.

Syntax

#include "am_sso.h"
AM_EXPORT am_string_set_t *
am_sso_get_principal_set(const am_sso_token_handle_t sso_token);

Parameters

This function takes the following parameters:

sso_token_handle

The SSO token handle.

Returns

This function returns the set of principals of this session handle, NULL if the principal property is not set or has no value.