Package org.refcodes.net
Class BasicCredentialsImpl
- java.lang.Object
-
- org.refcodes.net.BasicCredentialsImpl
-
- All Implemented Interfaces:
org.refcodes.mixin.CredentialsAccessor
,org.refcodes.mixin.IdentityAccessor
,org.refcodes.mixin.SecretAccessor
,org.refcodes.mixin.Validatable<BasicCredentials>
,BasicCredentials
public class BasicCredentialsImpl extends java.lang.Object implements BasicCredentials
The Class BasicCredentialsImpl.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.CredentialsAccessor
org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B extends org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B>>, org.refcodes.mixin.CredentialsAccessor.CredentialsMutator, org.refcodes.mixin.CredentialsAccessor.CredentialsProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.IdentityAccessor
org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B extends org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B>>, org.refcodes.mixin.IdentityAccessor.IdentityMutator, org.refcodes.mixin.IdentityAccessor.IdentityProperty
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BasicCredentialsImpl()
Instantiates a new basic credentials impl.BasicCredentialsImpl(java.lang.String aIdentity, java.lang.String aSecret)
Instantiates a new basic credentials impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIdentity()
java.lang.String
getSecret()
-
Methods inherited from interface org.refcodes.net.BasicCredentials
isValid, isValid
-
-
-
-
Constructor Detail
-
BasicCredentialsImpl
protected BasicCredentialsImpl()
Instantiates a new basic credentials impl.
-
BasicCredentialsImpl
public BasicCredentialsImpl(java.lang.String aIdentity, java.lang.String aSecret)
Instantiates a new basic credentials impl.- Parameters:
aIdentity
- the user nameaSecret
- the secret
-
-