Package org.apache.catalina.realm
Class JNDIRealm.JNDIConnection
- java.lang.Object
-
- org.apache.catalina.realm.JNDIRealm.JNDIConnection
-
- Enclosing class:
- JNDIRealm
protected static class JNDIRealm.JNDIConnection extends java.lang.Object
Class holding the connection to the directory plus the associated non thread safe message formats.
-
-
Field Summary
Fields Modifier and Type Field Description javax.naming.directory.DirContext
context
The directory context linking us to our directory server.java.text.MessageFormat
roleBaseFormat
The MessageFormat object associated with the currentroleBase
.java.text.MessageFormat
roleFormat
The MessageFormat object associated with the currentroleSearch
.java.text.MessageFormat[]
userPatternFormatArray
An array of MessageFormat objects associated with the currentuserPatternArray
.java.text.MessageFormat
userSearchFormat
The MessageFormat object associated with the currentuserSearch
.
-
Constructor Summary
Constructors Constructor Description JNDIConnection(java.lang.String userSearch, java.lang.String[] userPatternArray, java.lang.String roleBase, java.lang.String roleSearch)
-
-
-
Field Detail
-
userSearchFormat
public final java.text.MessageFormat userSearchFormat
The MessageFormat object associated with the currentuserSearch
.
-
userPatternFormatArray
public final java.text.MessageFormat[] userPatternFormatArray
An array of MessageFormat objects associated with the currentuserPatternArray
.
-
roleBaseFormat
public final java.text.MessageFormat roleBaseFormat
The MessageFormat object associated with the currentroleBase
.
-
roleFormat
public final java.text.MessageFormat roleFormat
The MessageFormat object associated with the currentroleSearch
.
-
context
public volatile javax.naming.directory.DirContext context
The directory context linking us to our directory server.
-
-