Class PlainPasswordCredentials
- java.lang.Object
-
- io.streamthoughts.azkarra.http.security.auth.PasswordCredentials
-
- io.streamthoughts.azkarra.http.security.auth.PlainPasswordCredentials
-
- All Implemented Interfaces:
Credentials
public class PlainPasswordCredentials extends PasswordCredentials
Representation of a plain text user password.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.streamthoughts.azkarra.http.security.auth.PasswordCredentials
PasswordCredentials.Type
-
Nested classes/interfaces inherited from interface io.streamthoughts.azkarra.http.security.auth.Credentials
Credentials.UnsupportedCredentialException
-
-
Field Summary
-
Fields inherited from class io.streamthoughts.azkarra.http.security.auth.PasswordCredentials
password
-
-
Constructor Summary
Constructors Constructor Description PlainPasswordCredentials(String password)
Creates a newPlainPasswordCredentials
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
verify(Object credentials)
-
Methods inherited from class io.streamthoughts.azkarra.http.security.auth.PasswordCredentials
equals, get, hashCode, password
-
-
-
-
Constructor Detail
-
PlainPasswordCredentials
public PlainPasswordCredentials(String password)
Creates a newPlainPasswordCredentials
instance.- Parameters:
password
- the user password.
-
-
Method Detail
-
verify
public boolean verify(Object credentials) throws Credentials.UnsupportedCredentialException
- Specified by:
verify
in classPasswordCredentials
- Throws:
Credentials.UnsupportedCredentialException
-
-