Class AuthenticationProviderTest
java.lang.Object
com.xebialabs.deployit.security.authentication.AuthenticationProviderTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprotected abstract com.xebialabs.deployit.security.UserServicevoidvoidvoidvoid
-
Field Details
-
ANONYMOUS_USERNAME
- See Also:
-
ADMIN_USERNAME
- See Also:
-
ADMIN_PASSWORD
- See Also:
-
REGULAR_USERNAME
- See Also:
-
REGULAR_PASSWORD
- See Also:
-
-
Constructor Details
-
AuthenticationProviderTest
public AuthenticationProviderTest()
-
-
Method Details
-
getUserService
protected abstract com.xebialabs.deployit.security.UserService getUserService() -
setupAuthenticationProvider
public void setupAuthenticationProvider() -
anonymousUserShouldNotAuthenticateWithAnyPassword
public void anonymousUserShouldNotAuthenticateWithAnyPassword() -
adminUserShouldAuthenticateWithCorrectPassword
public void adminUserShouldAuthenticateWithCorrectPassword() -
adminUserShouldNotAuthenticateWithIncorrectPassword
public void adminUserShouldNotAuthenticateWithIncorrectPassword() -
regularUserShouldAuthenticateWithCorrectPassword
public void regularUserShouldAuthenticateWithCorrectPassword() -
regularUserShouldNotAuthenticateWithIncorrectPassword
public void regularUserShouldNotAuthenticateWithIncorrectPassword() -
shouldNotAuthenticateWithWrongUsername
public void shouldNotAuthenticateWithWrongUsername()
-