com.bristle.javalib.security
Interface SecurableInterface


public interface SecurableInterface

This interface acts as a flag that the implementing class is securable via the Bristle Software access control scheme, and requires the implementing class to provide methods in support of that.

Usage:
   - The typical usage is to declare a class that implements this interface,
     and pass it to the Bristle Software access control classes.

Assumptions:
Effects:
       - None.
Anticipated Changes:
Notes:
Implementation Notes:
Portability Issues:
Revision History:
   $Log$


Method Summary
 SecurableInterface getCLASS_OF_OBJECTS()
          Get the special instance that indicates the class of objects instead of any particular instance.
 String getDataSource()
          Get the data source, typically a DB table name, of the object, for use in determining whether the current user has access to it.
 int getId()
          Get the unique id
 

Method Detail

getDataSource

String getDataSource()
Get the data source, typically a DB table name, of the object, for use in determining whether the current user has access to it.

Returns:
The data source

getId

int getId()
Get the unique id

Returns:
The unique id

getCLASS_OF_OBJECTS

SecurableInterface getCLASS_OF_OBJECTS()
Get the special instance that indicates the class of objects instead of any particular instance.

Returns:
The special instance.