com.atlassian.confluence.user
Class UserConfigurationChecker
java.lang.Object
com.atlassian.confluence.user.UserConfigurationChecker
public class UserConfigurationChecker
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserConfigurationChecker
public UserConfigurationChecker()
isOsUserConfigPresent
public static boolean isOsUserConfigPresent()
isStandardOsUser
public static boolean isStandardOsUser()
throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
isJiraOsUser
public static boolean isJiraOsUser(org.dom4j.Document doc)
- See Also:
http://confluence.atlassian.com/display/CONF34/Delegate+user+management+to+use+JIRA+logins
isLdapOsUser
public static boolean isLdapOsUser(org.dom4j.Document doc)
- See Also:
http://confluence.atlassian.com/display/CONF34/LDAP+Authentication+with+OSUser
isStandardOsUser
public static boolean isStandardOsUser(org.dom4j.Document doc)
loadOsUserDocument
public static org.dom4j.Document loadOsUserDocument()
throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
getAtlassianUserConfiguration
public static java.util.List<com.atlassian.user.configuration.RepositoryConfiguration> getAtlassianUserConfiguration()
throws com.atlassian.user.configuration.ConfigurationException
- Returns the list of repositories configured in atlassian-user.xml, or an empty list if none are configured or the file is missing.
- Throws:
com.atlassian.user.configuration.ConfigurationException
isStandardAtlassianUser
public static boolean isStandardAtlassianUser(java.util.List<com.atlassian.user.configuration.RepositoryConfiguration> atlassianUserConfiguration)
isUpgradeableLdapConfiguration
public static boolean isUpgradeableLdapConfiguration(com.atlassian.user.configuration.RepositoryConfiguration config)
isDefaultConfiguration
public static boolean isDefaultConfiguration(com.atlassian.user.configuration.RepositoryConfiguration config)
isUpgradeableCrowdConfiguration
public static boolean isUpgradeableCrowdConfiguration(com.atlassian.user.configuration.RepositoryConfiguration config)
isOSUserConfiguration
public static boolean isOSUserConfiguration(com.atlassian.user.configuration.RepositoryConfiguration config)
- An OSUser repository in atlassian-user.xml might not be upgradable, but we want to match them anyway.
Copyright © 2003-2014 Atlassian. All Rights Reserved.