org.alfresco.web.site.servlet.config
Class KerberosConfigElement
java.lang.Object
org.springframework.extensions.config.element.ConfigElementAdapter
org.alfresco.web.site.servlet.config.KerberosConfigElement
- All Implemented Interfaces:
- java.io.Serializable, org.springframework.extensions.config.ConfigElement
public class KerberosConfigElement
- extends org.springframework.extensions.config.element.ConfigElementAdapter
Describes the kerberos authentication properties stored within the block of the current configuration.
- See Also:
- Serialized Form
Fields inherited from class org.springframework.extensions.config.element.ConfigElementAdapter |
attributes, children, name, value |
Method Summary |
org.springframework.extensions.config.ConfigElement |
combine(org.springframework.extensions.config.ConfigElement element)
|
java.lang.String |
getEndpointSPN()
Gets the Service Principal Name to use on the endpoint. |
java.lang.String |
getLoginEntryName()
Gets the JAAS login configuration entry name. |
java.lang.String |
getPassword()
Gets the password. |
java.lang.String |
getRealm()
Gets the realm. |
protected static KerberosConfigElement |
newInstance(org.dom4j.Element elem)
Constructs a new instance from an XML Element. |
Methods inherited from class org.springframework.extensions.config.element.ConfigElementAdapter |
getAttribute, getAttributeCount, getAttributes, getChild, getChildCount, getChildren, getChildren, getChildrenMap, getChildValue, getName, getValue, hasAttribute, hasChildren, setValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KerberosConfigElement
public KerberosConfigElement()
- Constructs a new Kerberos Config Element.
combine
public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement element)
- Specified by:
combine
in interface org.springframework.extensions.config.ConfigElement
- Specified by:
combine
in class org.springframework.extensions.config.element.ConfigElementAdapter
getPassword
public java.lang.String getPassword()
- Gets the password.
- Returns:
- the password
getRealm
public java.lang.String getRealm()
- Gets the realm.
- Returns:
- the realm
getEndpointSPN
public java.lang.String getEndpointSPN()
- Gets the Service Principal Name to use on the endpoint. This must be like: HTTP/host.name@REALM.
- Returns:
- the endpoint SPN
getLoginEntryName
public java.lang.String getLoginEntryName()
- Gets the JAAS login configuration entry name.
- Returns:
- the login entry name
newInstance
protected static KerberosConfigElement newInstance(org.dom4j.Element elem)
- Constructs a new instance from an XML Element.
- Parameters:
elem
- the XML element
- Returns:
- the Kerberos configuration element
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.