public interface SecuredFileSystemProvider extends FileSystemProvider
FileSystemProvider
for file systems that require username/password authentication and
support authorization of certain actions.Modifier and Type | Method and Description |
---|---|
void |
setAuthenticator(FileSystemAuthenticator authenticator)
Sets the authenticator that decides which username/password pairs are valid for the file systems managed by this
provider.
|
void |
setAuthorizer(FileSystemAuthorizer authorizer) |
void |
setSSHAuthenticator(SSHAuthenticator authenticator) |
checkAccess, copy, createDirectory, createLink, createSymbolicLink, delete, deleteIfExists, forceAsDefault, getFileAttributeView, getFileStore, getFileSystem, getPath, getScheme, isDefault, isHidden, isSameFile, move, newAsynchronousFileChannel, newByteChannel, newDirectoryStream, newFileChannel, newFileSystem, newFileSystem, newInputStream, newOutputStream, readAttributes, readAttributes, readSymbolicLink, setAttribute
void setAuthenticator(FileSystemAuthenticator authenticator)
authenticator
- The authenticator to use. Must not be null.void setAuthorizer(FileSystemAuthorizer authorizer)
void setSSHAuthenticator(SSHAuthenticator authenticator)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.