Style Intelligence v12.0

inetsoft.sree.security
Interface SecurityGui

All Known Implementing Classes:
SecurityDialog

public interface SecurityGui

This interface defines some common graphical user interface for handling the login, logout and changing password.


Method Summary
 String changePassword(Object obj)
          Change the entity password.
 Object login(Object obj)
          Used to authenticate the end user.
 boolean logout(Object obj)
          ask uers some confirmation information
 void setDefaultPassword(String passwd)
          Set the default password to show on the login dialog.
 void setDefaultUser(String user)
          Set the default user to show on the login dialog.
 

Method Detail

login

Object login(Object obj)
Used to authenticate the end user. It allows the user to enter some credential informaton.

Returns:
the credential information about the entity

changePassword

String changePassword(Object obj)
Change the entity password. It allows user to enter new password

Returns:
the new password

logout

boolean logout(Object obj)
ask uers some confirmation information

Returns:
true if the user want to logout, false otherwise.

setDefaultUser

void setDefaultUser(String user)
Set the default user to show on the login dialog.


setDefaultPassword

void setDefaultPassword(String passwd)
Set the default password to show on the login dialog.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.