com.atlassian.crowd.integration.directory.internal
Class InternalDirectoryTest
java.lang.Object
com.atlassian.crowd.integration.directory.internal.InternalDirectoryTest
public class InternalDirectoryTest
- extends java.lang.Object
InternalDirectory Tester.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternalDirectoryTest
public InternalDirectoryTest()
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
public void tearDown()
testAddUser
public void testAddUser()
throws ObjectNotFoundException,
InvalidCredentialException,
InvalidUserException
- Test the happy path
- Throws:
ObjectNotFoundException
InvalidCredentialException
InvalidUserException
testAddPrincipalWithInvalidCredential
public void testAddPrincipalWithInvalidCredential()
throws ObjectNotFoundException,
InvalidUserException
- Throws:
ObjectNotFoundException
InvalidUserException
testAddPrincipalMustHaveName
public void testAddPrincipalMustHaveName()
throws InvalidCredentialException,
ObjectNotFoundException,
InvalidUserException
- Throws:
InvalidCredentialException
ObjectNotFoundException
InvalidUserException
testAuthentication
public void testAuthentication()
throws ObjectNotFoundException,
InvalidAuthenticationException,
InactiveAccountException
- Throws:
ObjectNotFoundException
InvalidAuthenticationException
InactiveAccountException
testAuthenticationWithInActiveUser
public void testAuthenticationWithInActiveUser()
throws ObjectNotFoundException,
InvalidAuthenticationException
- Throws:
ObjectNotFoundException
InvalidAuthenticationException
testAuthenticationPrincipalRequiresPasswordChange
public void testAuthenticationPrincipalRequiresPasswordChange()
throws ObjectNotFoundException,
InvalidAuthenticationException,
InactiveAccountException
- Throws:
ObjectNotFoundException
InvalidAuthenticationException
InactiveAccountException
testAuthenticationWithBadPassword
public void testAuthenticationWithBadPassword()
throws ObjectNotFoundException,
InactiveAccountException
- Throws:
ObjectNotFoundException
InactiveAccountException
testAuthenticationWithMaxPasswordAttempts
public void testAuthenticationWithMaxPasswordAttempts()
throws ObjectNotFoundException,
InactiveAccountException
- Throws:
ObjectNotFoundException
InactiveAccountException
testAuthenticationWithUnknownPrincipal
public void testAuthenticationWithUnknownPrincipal()
throws ObjectNotFoundException,
InvalidAuthenticationException,
InactiveAccountException
- Throws:
ObjectNotFoundException
InvalidAuthenticationException
InactiveAccountException
testUpdateUserCredentials
public void testUpdateUserCredentials()
throws ObjectNotFoundException,
InvalidCredentialException
- Throws:
ObjectNotFoundException
InvalidCredentialException
testUpdatePrincipalCredentialsWithOldPassword
public void testUpdatePrincipalCredentialsWithOldPassword()
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
testRequiresExistingPasswordChangeFlagReturnsTrue
public void testRequiresExistingPasswordChangeFlagReturnsTrue()
testRequiresExistingPasswordChangeFlagReturnsFalse
public void testRequiresExistingPasswordChangeFlagReturnsFalse()
testCurrentUserInvalidPasswordAttemptsWithNullAttribute
public void testCurrentUserInvalidPasswordAttemptsWithNullAttribute()
testCurrentUserInvalidPasswordAttemptsWithEmptyAttributes
public void testCurrentUserInvalidPasswordAttemptsWithEmptyAttributes()
testCurrentPrincipalInvalidPasswordAttemptsWithNullAttibuteList
public void testCurrentPrincipalInvalidPasswordAttemptsWithNullAttibuteList()
testCurrentPrincipalInvalidPasswordAttemptsWithCorrectAttribute
public void testCurrentPrincipalInvalidPasswordAttemptsWithCorrectAttribute()
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.