|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.impl.vut.VirtualUserTableManagement
public class VirtualUserTableManagement
Management for VirtualUserTables
| Field Summary |
|---|
| Fields inherited from interface org.apache.james.api.vut.management.VirtualUserTableManagementService |
|---|
ROLE |
| Constructor Summary | |
|---|---|
VirtualUserTableManagement()
|
|
| Method Summary | |
|---|---|
boolean |
addAddressMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String address)
Add address mapping |
boolean |
addAliasDomainMapping(java.lang.String virtualUserTable,
java.lang.String aliasDomain,
java.lang.String realDomain)
Add aliasDomain mapping |
boolean |
addErrorMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String error)
Add error mapping |
boolean |
addMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String mapping)
Try to identify the right method based on the prefix of the mapping and add it. |
boolean |
addRegexMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String regex)
Add regex mapping |
java.util.Map |
getAllMappings(java.lang.String virtualUserTable)
Return a Map which holds all mappings |
java.util.Collection |
getUserDomainMappings(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain)
Return the explicit mapping stored for the given user and domain. |
boolean |
removeAddressMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String address)
Remove address mapping |
boolean |
removeAliasDomainMapping(java.lang.String virtualUserTable,
java.lang.String aliasDomain,
java.lang.String realDomain)
Remove aliasDomain mapping |
boolean |
removeErrorMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String error)
Remove error mapping |
boolean |
removeMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String mapping)
Try to identify the right method based on the prefix of the mapping and remove it. |
boolean |
removeRegexMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String regex)
Remove regex mapping |
void |
service(org.apache.avalon.framework.service.ServiceManager arg0)
|
void |
setDefaultVirtualUserTable(VirtualUserTableManagement defaultVUT)
|
void |
setVirtualUserTableStore(VirtualUserTableStore store)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VirtualUserTableManagement()
| Method Detail |
|---|
public void service(org.apache.avalon.framework.service.ServiceManager arg0)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceExceptionServiceable.service(org.apache.avalon.framework.service.ServiceManager)public void setVirtualUserTableStore(VirtualUserTableStore store)
public void setDefaultVirtualUserTable(VirtualUserTableManagement defaultVUT)
public boolean addAddressMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String address)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
addAddressMapping in interface VirtualUserTableManagementMBeanaddAddressMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedaddress - the address.
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.addAddressMapping(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public boolean addErrorMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String error)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
addErrorMapping in interface VirtualUserTableManagementMBeanaddErrorMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the username. Null if no username should be useddomain - the domain. Null if no domain should be used
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.addErrorMapping(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public boolean addRegexMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String regex)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
addRegexMapping in interface VirtualUserTableManagementMBeanaddRegexMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedregex - the regex.
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.addRegexMapping(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public java.util.Collection getUserDomainMappings(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
getUserDomainMappings in interface VirtualUserTableManagementMBeangetUserDomainMappings in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the usernamedomain - the domain
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.getUserDomainMappings(java.lang.String, java.lang.String, java.lang.String)
public boolean removeAddressMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String address)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
removeAddressMapping in interface VirtualUserTableManagementMBeanremoveAddressMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the username. Null if no username should be useddomain - the domain. Null if no domain should be used
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.removeAddressMapping(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public boolean removeErrorMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String error)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
removeErrorMapping in interface VirtualUserTableManagementMBeanremoveErrorMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the username. Null if no username should be useddomain - the domain. Null if no domain should be used
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.removeErrorMapping(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public boolean removeRegexMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String regex)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
removeRegexMapping in interface VirtualUserTableManagementMBeanremoveRegexMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedregex - the regex.
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.removeRegexMapping(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public boolean addMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String mapping)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
addMapping in interface VirtualUserTableManagementMBeanaddMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedmapping - the mapping.
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.addMapping(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public boolean removeMapping(java.lang.String virtualUserTable,
java.lang.String user,
java.lang.String domain,
java.lang.String mapping)
throws VirtualUserTableManagementException
VirtualUserTableManagementMBean
removeMapping in interface VirtualUserTableManagementMBeanremoveMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTableuser - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedmapping - the mapping.
VirtualUserTableManagementException - TODOVirtualUserTableManagementService.removeMapping(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public java.util.Map getAllMappings(java.lang.String virtualUserTable)
throws VirtualUserTableManagementException
VirtualUserTableManagementService
getAllMappings in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTable
VirtualUserTableManagementExceptionVirtualUserTableManagementService.getAllMappings(java.lang.String)
public boolean addAliasDomainMapping(java.lang.String virtualUserTable,
java.lang.String aliasDomain,
java.lang.String realDomain)
throws VirtualUserTableManagementException
VirtualUserTableManagementService
addAliasDomainMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTablealiasDomain - the aliasdomain which should be mapped to the realDomainrealDomain - the realDomain
VirtualUserTableManagementExceptionVirtualUserTableManagementService.addAliasDomainMapping(java.lang.String, java.lang.String, java.lang.String)
public boolean removeAliasDomainMapping(java.lang.String virtualUserTable,
java.lang.String aliasDomain,
java.lang.String realDomain)
throws VirtualUserTableManagementException
VirtualUserTableManagementService
removeAliasDomainMapping in interface VirtualUserTableManagementServicevirtualUserTable - The virtualUserTablealiasDomain - the aliasdomain which should be mapped to the realDomainrealDomain - the realDomain
VirtualUserTableManagementExceptionVirtualUserTableManagementService.removeAliasDomainMapping(java.lang.String, java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||