Class StaticIdentity
- java.lang.Object
-
- io.apiman.gateway.engine.policies.config.basicauth.StaticIdentity
-
public class StaticIdentity extends Object
A single static identity used for basic authentication.- Author:
- eric.wittmann@redhat.com
-
-
Constructor Summary
Constructors Constructor Description StaticIdentity()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetIsHash()StringgetPassword()StringgetUsername()voidsetIsHash(boolean isHash)voidsetPassword(String password)voidsetUsername(String username)
-
-
-
Method Detail
-
getIsHash
public boolean getIsHash()
- Returns:
- the isHash
-
setIsHash
public void setIsHash(boolean isHash)
- Parameters:
isHash- the isHash to set
-
getUsername
public String getUsername()
- Returns:
- the username
-
setUsername
public void setUsername(String username)
- Parameters:
username- the username to set
-
getPassword
public String getPassword()
- Returns:
- the password
-
setPassword
public void setPassword(String password)
- Parameters:
password- the password to set
-
-