class dk.brics.jwig.runwig.Service.Session
public void setAccessControl(boolean local,
java.lang.String userfile,
java.lang.String realm,
boolean require_ssl)
throws java.io.IOException
- Writes a ".htaccess" file.
This file defines authentication requirements for client access.
- Parameters:
local - if true, write to local thread directory -
if false, write to shared service directory
userfile - file name for authorized names/passwords - must be created before, and
must be absolute (non-relative) path (if null,
use .htpasswd)
realm - realm name (if null, no authentication check)
require_ssl - if true, set SSLRequireSSL
- Throws:
java.io.IOException - if I/O error occurs
|