Class DigestPasswordCredentials
- java.lang.Object
-
- io.streamthoughts.azkarra.http.security.auth.PasswordCredentials
-
- io.streamthoughts.azkarra.http.security.auth.DigestPasswordCredentials
-
- All Implemented Interfaces:
Credentials
public class DigestPasswordCredentials extends PasswordCredentials
-
-
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 DigestPasswordCredentials(String algorithm, String password)
Creates a newPasswordCredentials
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
boolean
verify(Object credentials)
-
Methods inherited from class io.streamthoughts.azkarra.http.security.auth.PasswordCredentials
get, password
-
-
-
-
Constructor Detail
-
DigestPasswordCredentials
public DigestPasswordCredentials(String algorithm, String password)
Creates a newPasswordCredentials
instance.- Parameters:
password
- the user password.
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classPasswordCredentials
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPasswordCredentials
-
verify
public boolean verify(Object credentials) throws Credentials.UnsupportedCredentialException
- Specified by:
verify
in classPasswordCredentials
- Throws:
Credentials.UnsupportedCredentialException
-
-