fedora.server.security
Interface BERoleConfig

All Known Implementing Classes:
AbstractRoleConfig, BMechRoleConfig, DefaultRoleConfig, MethodRoleConfig

public interface BERoleConfig

Configuration for a given backend service role.

Author:
cwilper@cs.cornell.edu

Method Summary
 java.lang.Boolean getCallbackBasicAuth()
          Get whether backend callbacks for this role require basic auth.
 java.lang.Boolean getCallbackSSL()
          Get whether backend callbacks for this role require SSL.
 java.lang.Boolean getCallBasicAuth()
          Get whether backend calls for this role will use basic auth.
 java.lang.String getCallPassword()
          Get the basicauth password for backend calls for this role.
 java.lang.Boolean getCallSSL()
          Get whether backend calls for this role will SSL.
 java.lang.String getCallUsername()
          Get the basicauth username for backend calls for this role.
 java.lang.Boolean getEffectiveCallbackBasicAuth()
           
 java.lang.Boolean getEffectiveCallbackSSL()
           
 java.lang.Boolean getEffectiveCallBasicAuth()
           
 java.lang.String getEffectiveCallPassword()
           
 java.lang.Boolean getEffectiveCallSSL()
           
 java.lang.String getEffectiveCallUsername()
           
 java.lang.String[] getEffectiveIPList()
           
 java.lang.String[] getIPList()
          Get the list of IP addresses that are allowed to make back-end callbacks to Fedora using this role.
 java.lang.String getRole()
          Get the name of the role this configuration applies to.
 void setCallbackBasicAuth(java.lang.Boolean value)
          Set whether backend callbacks for this role require basic auth.
 void setCallbackSSL(java.lang.Boolean value)
          Set whether backend callbacks for this role require SSL.
 void setCallBasicAuth(java.lang.Boolean value)
          Set whether backend calls for this role will use basic auth.
 void setCallPassword(java.lang.String pass)
          Set the basicauth password for backend calls for this role.
 void setCallSSL(java.lang.Boolean value)
          Set whether backend calls for this role will SSL.
 void setCallUsername(java.lang.String user)
          Set the basicauth username for backend calls for this role.
 void setIPList(java.lang.String[] ips)
          Set the list of IP addresses that are allowed to make back-end callbacks to Fedora using this role.
 

Method Detail

getRole

java.lang.String getRole()
Get the name of the role this configuration applies to.


getIPList

java.lang.String[] getIPList()
Get the list of IP addresses that are allowed to make back-end callbacks to Fedora using this role. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means no restriction.


getEffectiveIPList

java.lang.String[] getEffectiveIPList()

setIPList

void setIPList(java.lang.String[] ips)
Set the list of IP addresses that are allowed to make back-end callbacks to Fedora using this role. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means no restriction.


getCallbackBasicAuth

java.lang.Boolean getCallbackBasicAuth()
Get whether backend callbacks for this role require basic auth. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getEffectiveCallbackBasicAuth

java.lang.Boolean getEffectiveCallbackBasicAuth()

setCallbackBasicAuth

void setCallbackBasicAuth(java.lang.Boolean value)
Set whether backend callbacks for this role require basic auth. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getCallbackSSL

java.lang.Boolean getCallbackSSL()
Get whether backend callbacks for this role require SSL. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getEffectiveCallbackSSL

java.lang.Boolean getEffectiveCallbackSSL()

setCallbackSSL

void setCallbackSSL(java.lang.Boolean value)
Set whether backend callbacks for this role require SSL. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getCallBasicAuth

java.lang.Boolean getCallBasicAuth()
Get whether backend calls for this role will use basic auth. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getEffectiveCallBasicAuth

java.lang.Boolean getEffectiveCallBasicAuth()

setCallBasicAuth

void setCallBasicAuth(java.lang.Boolean value)
Set whether backend calls for this role will use basic auth. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getCallSSL

java.lang.Boolean getCallSSL()
Get whether backend calls for this role will SSL. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getEffectiveCallSSL

java.lang.Boolean getEffectiveCallSSL()

setCallSSL

void setCallSSL(java.lang.Boolean value)
Set whether backend calls for this role will SSL. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means the effective value is false.


getCallUsername

java.lang.String getCallUsername()
Get the basicauth username for backend calls for this role. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means unspecified.


getEffectiveCallUsername

java.lang.String getEffectiveCallUsername()

setCallUsername

void setCallUsername(java.lang.String user)
Set the basicauth username for backend calls for this role. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means unspecified.


getCallPassword

java.lang.String getCallPassword()
Get the basicauth password for backend calls for this role. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means unspecified.


getEffectiveCallPassword

java.lang.String getEffectiveCallPassword()

setCallPassword

void setCallPassword(java.lang.String pass)
Set the basicauth password for backend calls for this role. For BMech/MethodRoleConfig, null means the effective value is inherited. For DefaultRoleConfig, null means unspecified.