Package com.dassault_systemes.catweb.databackend.dataType |
com.dassault_systemes.catweb.databackend.dataType.SecurityIF
Framework : CATJDataAccessBasicModel
Module : PLAdatabackend
public interface SecurityIF
Interface to check the user of the driver.
When the Driver will be called on isUserChecked(), there is two scenarios :
- if the returned boolean is false then
Call on showDialog()
Call on isUserChecked()
Call on getDisplayableInformation()
- 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
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