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
public String[] getDisplayableInformation()
Returns some information displayed in the Message window.
public boolean isUserChecked()
Returns a boolean telling if the user is checkor not.
public void showDialog()
Here we could launch a dialog in order to ask the user for a username and a password.


Field Detail

Constructor Detail

Method Detail

getDisplayableInformation

    public String[] getDisplayableInformation()

Returns some information displayed in the Message window.


isUserChecked

    public 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

    public void showDialog()

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



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