Returns all attribute names and values associated with the given resource and subject.
Syntax
Map< String, String[]>
getSubjectAttributesForResource
(
Map< String, Object >
context
,
SecResource
res
,
SecSubject
subject
) throws SecException
Parameters
-
context –
CSI context
-
res –
the resource for which attributes are being retrieved
-
subject –
the subject to associate with the asset for attribute retrieval
Returns
map of attributes or null if there are no attributes
Exceptions
-
SecException class –
Thrown if an error occurs. The exception will be logged and after that it is as if the method returned an empty map.
Usage
This method is indirectly called when a CSI client calls SecSubject.getAttributesForResource(SecResource).