fedora.server.security
Interface BERoleConfig

All Known Implementing Classes:
AbstractRoleConfig

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

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


getIPList

public 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

public java.lang.String[] getEffectiveIPList()

setIPList

public 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

public 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

public java.lang.Boolean getEffectiveCallbackBasicAuth()

setCallbackBasicAuth

public 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

public 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

public java.lang.Boolean getEffectiveCallbackSSL()

setCallbackSSL

public 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

public 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

public java.lang.Boolean getEffectiveCallBasicAuth()

setCallBasicAuth

public 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

public 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

public java.lang.Boolean getEffectiveCallSSL()

setCallSSL

public 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

public 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

public java.lang.String getEffectiveCallUsername()

setCallUsername

public 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

public 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

public java.lang.String getEffectiveCallPassword()

setCallPassword

public 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.