Given a SecSubject object, this method should populate it with the attributes.
Syntax
boolean
attributeAuthenticatedSubject
(
Map< String, Object >
context
,
SecSubject
subject
) throws SecException
Parameters
-
subject –
subject that should be attributed.
-
context –
CSI context
Returns
true if the attributer contributed any attributes to the subject; false otherwise
Exceptions
-
SecException class –
Thrown if an error occurs. The exception will be logged and after that it is as if the method returned false.
Usage
NAME and ID attributes may already be populated if they were added as principals to the JAAS Subject during authentication. This method will be called to populate
SecSubject
attributes when a CSI client first attempts to retrieve attributes.
true if the attributer contributed any attributes to the subject; false otherwise