Package org.uberfire.java.nio.security
Interface SecuredFileSystemProvider
-
- All Superinterfaces:
FileSystemProvider
public interface SecuredFileSystemProvider extends FileSystemProvider
Specialization ofFileSystemProviderfor file systems that require username/password authentication and support authorization of certain actions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetAuthorizer(FileSystemAuthorizer authorizer)voidsetHTTPAuthenticator(org.jboss.errai.security.shared.service.AuthenticationService authenticator)voidsetJAASAuthenticator(org.jboss.errai.security.shared.service.AuthenticationService authenticator)Sets the authenticator that decides which username/password pairs are valid for the file systems managed by this provider.voidsetSSHAuthenticator(SSHAuthenticator authenticator)-
Methods inherited from interface org.uberfire.java.nio.file.spi.FileSystemProvider
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
-
-
-
-
Method Detail
-
setJAASAuthenticator
void setJAASAuthenticator(org.jboss.errai.security.shared.service.AuthenticationService authenticator)
Sets the authenticator that decides which username/password pairs are valid for the file systems managed by this provider.- Parameters:
authenticator- The authenticator to use. Must not be null.
-
setHTTPAuthenticator
void setHTTPAuthenticator(org.jboss.errai.security.shared.service.AuthenticationService authenticator)
-
setSSHAuthenticator
void setSSHAuthenticator(SSHAuthenticator authenticator)
-
setAuthorizer
void setAuthorizer(FileSystemAuthorizer authorizer)
-
-