Sitevision Developer
Log in

Log in

sv:directory

The directory nodes are located in the directory repository (sv:directoryRepository). It has user (sv:user), user container (sv:userContainer) and / or user group nodes (sv:userGroup) as child nodes.

The directory nodes correspond to the directories affecting the current site.

Node name

Name

Type and description

<directory-name>

Dynamic / Model dependent


The name of the directory (e.g. "Internal Directory Service") 

Properties

Name

Type and description

description

javax.jcr.PropertyType.STRING


A string containing the URL to the LDAP directory



displayName

javax.jcr.PropertyType.STRING

 

The name of the directory



inactive

javax.jcr.PropertyType.BOOLEAN


If the directory is inactive or in use

 


writable

javax.jcr.PropertyType.BOOLEAN

 

If the directory is writable or read-only

 


searchBase

javax.jcr.PropertyType.STRING

 

The search base e.g. ("dc=sitevision,dc=se")

searchAttribute

javax.jcr.PropertyType.STRING

 

The search attribute e.g. ("cn")



secure

javax.jcr.PropertyType.BOOLEAN


Specifies if the connection to the directory is SSL-encrypted or not



serverPort

javax.jcr.PropertyType.STRING

 

The server port to the LDAP directory



serverAddress

javax.jcr.PropertyType.STRING

 

The server address of the LDAP directory



writable

javax.jcr.PropertyType.BOOLEAN


If the directory is writable or read-only.

Sitevision Utility API tip!

  • The DirectoryUtil interface exposes a set of methods for searching a specific directory.
Did you find the content on this page useful?