java.lang.Object
org.postgresql.pljava.PLPrincipal
org.postgresql.pljava.PLPrincipal.Sandboxed
- All Implemented Interfaces:
Serializable,Principal
- Enclosing class:
PLPrincipal
Java
Principal representing a PostgreSQL
PROCEDURAL LANGUAGE that was declared with the TRUSTED
keyword and can be used to declare new functions by any role that has
been granted USAGE permission on it.
A Java security policy can grant permissions to this Principal
by class and wildcard name, or by class and the specific name given in
SQL to the language.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.postgresql.pljava.PLPrincipal
PLPrincipal.Sandboxed, PLPrincipal.Unsandboxed -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruct an instance given its name inStringform.Construct an instance given its name already as anIdentifier.Simple. -
Method Summary
-
Field Details
-
m_name
-
-
Constructor Details
-
Sandboxed
Construct an instance given its name inStringform.The name will be parsed as described for
Identifier.Simple.fromJava. -
Sandboxed
Construct an instance given its name already as anIdentifier.Simple.
-
-
Method Details
-
trust
ReturnsSANDBOXED.- Specified by:
trustin classPLPrincipal
-
equals
-
toString
-
hashCode
public int hashCode() -
getName
-