File authentication service.
| Modifiers | Name | Description |
|---|---|---|
static String |
AUTH_FILE_NAME |
HTTP/authentication service name. |
| Type | Name and description |
|---|---|
URI |
getGroupFile()Returns the password group file resource. |
List<String> |
getRequireDomains()Returns the required domains. |
SatisfyType |
getSatisfy()Returns the criteria that must be to allow access to a resource. |
AuthType |
getType()Returns the authentication type. |
URI |
getUsersFile()Returns the password users file resource. |
Object |
methodMissing(String name, Object args) |
void |
setStatementsMap(StatementsMapFactory factory) |
| Methods inherited from class | Name |
|---|---|
class AbstractAuthService |
getAlias, getAuth, getDomain, getId, getName, getPrefix, getRef, getRefDomain, getRequireExcept, getRequireGroups, getRequireUsers, getRequireValid, methodMissing, setAlias, setDefaultWebServiceFactory, setId, setPrefix, setRef, setRefDomain, toString |
HTTP/authentication service name.
Returns the password group file resource.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-service", location: "/private", {
password group: "private.group", users: "private.passwd"
}
}
}
Returns the required domains.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-file", auth: "Private Directory", location: "/private", {
require domain: "https://%"
}
}
}
Returns the criteria that must be to allow access to a resource.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-file", auth: "Private Directory", location: "/private", {
type AuthType.digest, satisfy: SatisfyType.any
}
}
}
null.Returns the authentication type.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-file", auth: "Private Directory", location: "/private", {
type AuthType.digest
}
}
}
null.Returns the password users file resource.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-service", location: "/private", {
password group: "private.group", users: "private.passwd"
}
}
}