Lists all attribute names that may be associated with the resource/subject pair.
Syntax
List< Named >
listSubjectAttributesForResource
(
Map< String, Object >
context
,
SecResource
res
,
SecSubject
subject
) throws SecException
Parameters
-
context –
CSI context
-
res –
the resource to return attribute info for.
-
subject –
the subject to associate with the asset for retrieving the names of the relevant attributes.
Returns
a List containing Named objects describing each resource attribute.
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 list.
Usage
This method is indirectly called when the CSI client calls
SecSubject.listAttributesForResource(String)
.
a List containing Named objects describing each resource attribute.