Package rs.baselib.security
Interface AuthorizationCallback
- All Known Implementing Classes:
AbstractAuthorizationCallback,CommandLineAuthorizationCallback,DefaultAuthorizationCallback,GuiAuthorizationCallback,PropertiesFileAuthorizationCallback,SimpleAuthorizationCallback,TextFileAuthorizationCallback,XmlFileAuthorizationCallback
public interface AuthorizationCallback
Interface that defines a callback for getting user authorizations.
- Author:
- Ralph Schuster
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()Returns the login name.java.lang.StringgetPassword()Returns the password.
-
Method Details
-
getName
java.lang.String getName()Returns the login name. The method will eventually invoke further procedures such as asking the user on command line of GUI for the name.- Returns:
- login name.
-
getPassword
java.lang.String getPassword()Returns the password. The method will eventually invoke further procedures such as asking the user on command line of GUI for the password.- Returns:
- a password.
-