Package com.dassault_systemes.catweb.databackend.dataType

   
Interface SecurityIF

 
Class Hierarchy
com.dassault_systemes.catweb.databackend.dataType.SecurityIF
Class Location

Framework : CATJDataAccessBasicModel

Module : PLAdatabackend

Class Description

public interface SecurityIF

Interface to check the user of the driver.
When the Driver will be called on isUserChecked(), there is two scenarios :

  1. if the returned boolean is false then
    Call on showDialog()
    Call on isUserChecked()
    Call on getDisplayableInformation()
  2. else
    Call on getDisplayableInformation()
If there is no security in your system, you can use a default implementation: defaultSecurityIFImpl. This default implementation return always true.

See Also:
com.dassault_systemes.catweb.databackend.dataType.defaultSecurityIFImpl
Field Summary

Constructor Summary

Method Summary
boolean isUserChecked()
void showDialog()
String[] getDisplayableInformation()


Field Detail

Constructor Detail

Method Detail

isUserChecked

    boolean isUserChecked()

Returns a boolean telling if the user is checkor not. Basic implementation of is userChecked: The first time, Product explorer will call this function, the function will return false, the second time, true


showDialog

    void showDialog()

Here we could launch a dialog in order to ask the user for a username and a password.


getDisplayableInformation

    String[] getDisplayableInformation()

Returns some information displayed in the Message window.



Copyright © 2000, Dassault Systèmes. All rights reserved