Class FileSystemSecurityRealm

    • Constructor Detail

      • FileSystemSecurityRealm

        public FileSystemSecurityRealm​(Path root,
                                       NameRewriter nameRewriter,
                                       int levels,
                                       boolean encoded)
        Construct a new instance. Construction with enabled security manager requires createSecurityRealm ElytronPermission.
        Parameters:
        root - the root path of the identity store
        nameRewriter - the name rewriter to apply to looked up names
        levels - the number of levels of directory hashing to apply
        encoded - whether identity names should by BASE32 encoded before using as filename
      • FileSystemSecurityRealm

        public FileSystemSecurityRealm​(Path root,
                                       NameRewriter nameRewriter,
                                       int levels)
        Construct a new instance.
        Parameters:
        root - the root path of the identity store
        nameRewriter - the name rewriter to apply to looked up names
        levels - the number of levels of directory hashing to apply
      • FileSystemSecurityRealm

        public FileSystemSecurityRealm​(Path root,
                                       int levels)
        Construct a new instance.
        Parameters:
        root - the root path of the identity store
        levels - the number of levels of directory hashing to apply
      • FileSystemSecurityRealm

        public FileSystemSecurityRealm​(Path root)
        Construct a new instance with 2 levels of hashing.
        Parameters:
        root - the root path of the identity store