Class NullSecurityAuthenticatorImpl
java.lang.Object
com.randomnoun.common.security.impl.NullSecurityAuthenticatorImpl
- All Implemented Interfaces:
SecurityAuthenticator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(User user, String password) Returns true if the supplied password authenticates the supplied user, false otherwise.void
initialise
(Map<String, Object> properties) Initialise this security loader.
-
Constructor Details
-
NullSecurityAuthenticatorImpl
public NullSecurityAuthenticatorImpl()
-
-
Method Details
-
initialise
Description copied from interface:SecurityAuthenticator
Initialise this security loader. This method will be invoked by the SecurityContext object on initialisation- Specified by:
initialise
in interfaceSecurityAuthenticator
- Parameters:
properties
- Initialisation properties for this loader.
-
authenticate
Description copied from interface:SecurityAuthenticator
Returns true if the supplied password authenticates the supplied user, false otherwise.- Specified by:
authenticate
in interfaceSecurityAuthenticator
- Parameters:
password
- The password used to authenticate the user- Returns:
- true if the username/password combination is valid.
- Throws:
IOException
-