modifySubject(Map< String, Object >, SecSubject , Attributed ) method

This method will be called when commitModification method is called on a subject object retrieved through a SecContext instance.

Syntax

boolean modifySubject ( Map< String, Object > context , SecSubject subject , Attributed modifiedAttributes ) throws SecException

Parameters

Returns

boolean value. "true" indicates subject modification is committed successfully; "false" indicates failed subject modification

Usage

Attributer can simply return false if it doesn't support this method.