LDAP authentication service.
| Modifiers | Name | Description |
|---|---|---|
static String |
AUTH_LDAP_NAME |
HTTP/authentication service name. |
| Type | Name and description |
|---|---|
Map<String, Object> |
getAttributes()Returns the required attributes. |
Boolean |
getAuthoritative()Returns whether authorization and authentication are passed to lower level modules. |
String |
getCredentials()Returns the LDAP credentials. |
String |
getCredentialsPassword()Returns the LDAP credentials password. |
String |
getHost()Returns the LDAP host. |
String |
getHostUrl()Returns the LDAP URL. |
String |
getRequireGroupDn()Returns the required group DN. |
SatisfyType |
getSatisfy()Returns the criteria that must be to allow access to a resource. |
AuthType |
getType()Returns the authentication type. |
Object |
methodMissing(String name, Object args) |
void |
require(Map<String, 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 required attributes.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-ldap", auth: "Private Directory", location: "/private", {
require attribute: [group: "uniqueMember"]
require attribute: [dn: no]
}
}
}
null.Returns whether authorization and authentication are passed to lower level modules.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-ldap", auth: "Private Directory", location: "/private", {
type AuthType.basic, satisfy: AuthType.any, authoritative: no
}
}
}
true if enabled or null.Returns the LDAP credentials.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-ldap", auth: "Private Directory", location: "/private", {
credentials "cn=admin,dc=ubuntutest,dc=com", password: "adminpass"
}
}
}
null.Returns the LDAP credentials password.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-ldap", auth: "Private Directory", location: "/private", {
credentials "cn=admin,dc=ubuntutest,dc=com", password: "adminpass"
}
}
}
null.Returns the LDAP host.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-ldap", auth: "Private Directory", location: "/private", {
host "ldap://127.0.0.1:389", url: "o=deventorg,dc=ubuntutest,dc=com?cn"
}
}
}
null.Returns the LDAP URL.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-ldap", auth: "Private Directory", location: "/private", {
host "ldap://127.0.0.1:389", url: "o=deventorg,dc=ubuntutest,dc=com?cn"
}
}
}
null.Returns the required group DN.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-ldap", auth: "Private Directory", location: "/private", {
require groupdn: "cn=ldapadminGroup,o=deventorg,dc=ubuntutest,dc=com"
}
}
}
null.Returns the criteria that must be to allow access to a resource.
httpd {
domain "test1.com", address: "192.168.0.51", {
setup "auth-ldap", 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-ldap", auth: "Private Directory", location: "/private", {
type AuthType.digest
}
}
}
null.