listResources(Map< String, Object >, String) method

Lists all known resources.

Syntax

List< Named > listResources ( Map< String, Object > context , String resourceTypeName ) throws SecException

Parameters

Returns

a List containing Named objects describing each resource.

Exceptions

Usage

This method is indirectly called when the CSI client calls

SecContext.listResources()

and

SecContext.listResources(String resourceTypeName)

.

The implementor should first check to see if the specified resource type is a resource type that it understands and expects before performing any resource-intensive operations.

a List containing Named objects describing each resource.