Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.mdm.index.security
Interface SecurityMaskPlugIn

public interface SecurityMaskPlugIn

Method Summary
`java.lang.String[]` | `fieldsToCheck()` these fields values are checked by SecurityMaskPlugIn when masking data.
`void` | `maskData(ObjectNode objectNode, EJBContext context)` mask or guard the objectNode.

Method Detail

### fieldsToCheck

    public java.lang.String[] fieldsToCheck()

  these fields values are checked by SecurityMaskPlugIn when masking data. So the objectNode passed to maskData must have data for such fields.

  Returns:
    list of fields.

### maskData

    public void maskData(ObjectNode objectNode,
                         EJBContext context)
                  throws SecurityException

  mask or guard the objectNode. It is up to the implementation class to implement the business rule to modify the contents of objectNode. A different implementation class for each SecurityMaskPlugIn can be associated with different previliges of a user. So in this class you don't check for previleges of a user, rather based on the user previlges appropriate implementation class of SecurityMaskPlugIn is invoked by the SecurityAgent.

  Parameters:
    `objectNode` - The objectNode whose data can be modified. This can be any composite objectNode structure.
  Throws:
    `SecurityException` - error occured

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Sun Microsystems, Inc.