| org.apache.cocoon.components.source.RestrictableSource
RestrictableSource | public interface RestrictableSource extends Source(Code) | | A source, which is restrictable, which means you need a username and password.
author: Stephan Michels version: CVS $Id: RestrictableSource.java 433543 2006-08-22 06:22:54Z crossley $ |
addSourcePermission | public void addSourcePermission(SourcePermission sourcepermission) throws SourceException(Code) | | Add a permission to this source
Parameters: sourcepermission - Permission, which should be set throws: SourceException - If an exception occurs during this operation |
getSourceCredential | public SourceCredential getSourceCredential() throws SourceException(Code) | | Get the current credential for the source
|
getSourcePermissions | public SourcePermission[] getSourcePermissions() throws SourceException(Code) | | Returns a list of the existing permissions
Array of SourcePermission |
removeSourcePermission | public void removeSourcePermission(SourcePermission sourcepermission) throws SourceException(Code) | | Remove a permission from this source
Parameters: sourcepermission - Permission, which should be removed throws: SourceException - If an exception occurs during this operation |
setSourceCredential | public void setSourceCredential(SourceCredential sourcecredential) throws SourceException(Code) | | Set the credential for the source
|
|
|