Class PropertiesFileAuthorizationCallback

All Implemented Interfaces:
IConfigurable, AuthorizationCallback

public class PropertiesFileAuthorizationCallback extends DefaultAuthorizationCallback
Implements authorization information retrieval from a properties file.

Configuration:

 <AuthorizationCallback class="rs.baselib.security.PropertiesFileAuthorizationCallback">
 
    <!-- The properties file name. -->
    <File>/path/to/file.properties</File>
    
 </AuthorizationCallback>
 

The properties file itself shall look like this:

 login=your-login
 password=your-password
 
Author:
Ralph Schuster
  • Constructor Details

    • PropertiesFileAuthorizationCallback

      public PropertiesFileAuthorizationCallback()
      Default Constructor.
  • Method Details