public class BaseSecurityProfile extends java.lang.Object implements SecurityProfile
A convenience class implementing a SecurityProfile. Security profiles are automatically instantiated by Presto Service Access Engines for mashables that require authentication based on the security profile information supplied when the mashable is registered.
CUSTOM_AUTH, HTTP_BASIC_AUTH, NTLM_AUTH, SSL_MUTUAL_AUTH, SSL_SELFSIGN_AUTH, SSO_AUTH
Constructor and Description |
---|
BaseSecurityProfile() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
java.lang.String |
getParam(java.lang.String key)
Returns the value for the specific parameter.
|
java.util.Map<java.lang.String,java.lang.String> |
getParams() |
boolean |
isSystem() |
void |
setId(java.lang.String id) |
void |
setParams(java.util.Map<java.lang.String,java.lang.String> parameters) |
void |
setSystem(boolean system) |
java.lang.String |
toString() |
public java.lang.String getId()
getId
in interface SecurityProfile
public void setId(java.lang.String id)
setId
in interface SecurityProfile
public java.util.Map<java.lang.String,java.lang.String> getParams()
getParams
in interface SecurityProfile
public void setParams(java.util.Map<java.lang.String,java.lang.String> parameters)
setParams
in interface SecurityProfile
public java.lang.String getParam(java.lang.String key)
key
- The name of the parameter.public java.lang.String toString()
toString
in class java.lang.Object
public boolean isSystem()
isSystem
in interface SecurityProfile
public void setSystem(boolean system)
setSystem
in interface SecurityProfile