|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RestrictableSource
A source, which is restrictable, which means you need a username and password.
Method Summary | |
---|---|
void |
addSourcePermission(SourcePermission sourcepermission)
Add a permission to this source |
SourceCredential |
getSourceCredential()
Get the current credential for the source |
SourcePermission[] |
getSourcePermissions()
Returns a list of the existing permissions |
void |
removeSourcePermission(SourcePermission sourcepermission)
Remove a permission from this source |
void |
setSourceCredential(SourceCredential sourcecredential)
Set the credential for the source |
Methods inherited from interface org.apache.excalibur.source.Source |
---|
exists, getContentLength, getInputStream, getLastModified, getMimeType, getScheme, getURI, getValidity, refresh |
Method Detail |
---|
SourceCredential getSourceCredential() throws SourceException
SourceException
void setSourceCredential(SourceCredential sourcecredential) throws SourceException
SourceException
void addSourcePermission(SourcePermission sourcepermission) throws SourceException
sourcepermission
- Permission, which should be set
SourceException
- If an exception occurs during this operationvoid removeSourcePermission(SourcePermission sourcepermission) throws SourceException
sourcepermission
- Permission, which should be removed
SourceException
- If an exception occurs during this operationSourcePermission[] getSourcePermissions() throws SourceException
SourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |