getSubject(String) method

Lookup some other Subject in the security identity provider.

Syntax

SecSubject getSubject ( String id ) throws SecException

Parameters

Returns

the SecSubject wrapper for the specified user.

Exceptions

Usage

This method may be helpful in some situations of delegated authorization like a RunAs component or similar usage, or if the calling application wants Attributes for a subject different from the current caller.

A trusted component might make use of this to obtain signing certificates for a user it is operating on behalf of.

the SecSubject wrapper for the specified user.