Module org.refcodes.web
Package org.refcodes.web
Interface BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
- All Known Subinterfaces:
BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
- Enclosing interface:
- BasicAuthCredentialsAccessor
public static interface BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
Provides a mutator for a
BasicAuthCredentials
property.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
setBasicAuthCredentials
(String aUserName, String aSecret) Sets theBasicAuthCredentials
from the user name and the secret for the Basic-Authentication credentials property.void
setBasicAuthCredentials
(BasicAuthCredentials aBasicAuthCredentials) Sets theBasicAuthCredentials
for the Basic-Authentication credentials property.
-
Method Details
-
setBasicAuthCredentials
Sets theBasicAuthCredentials
for the Basic-Authentication credentials property.- Parameters:
aBasicAuthCredentials
- TheBasicAuthCredentials
to be stored by theBasicAuthCredentials
property.
-
setBasicAuthCredentials
Sets theBasicAuthCredentials
from the user name and the secret for the Basic-Authentication credentials property.- Parameters:
aUserName
- The user name to be stored by theBasicAuthCredentials
property.aSecret
- The password to be stored by theBasicAuthCredentials
property.
-