Authentication service.
| Type | Name and description |
|---|---|
String |
getAuth()Returns the authentication name. |
List<String> |
getRequireExcept()Returns the required HTTP methods. |
List<String> |
getRequireGroups()Returns the require group names. |
List<String> |
getRequireUsers()Returns the require user names. |
RequireValid |
getRequireValid()Returns the require valid mode. |
Returns the authentication name.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-service", auth: "Private Directory", {
}
}
}
Returns the required HTTP methods.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-service", auth: "/private", {
require except: "GET, OPTIONS"
}
}
}
Returns the require group names.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-service", auth: "/private", {
require group: "foogroup, bargroup"
}
}
}
Returns the require user names.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-service", auth: "/private", {
require user: "foo, bar"
}
}
}
Returns the require valid mode.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-service", auth: "/private", {
require valid: RequireValid.user
}
}
}
null.