java.lang.Object
org.postgresql.pljava.PLPrincipal
org.postgresql.pljava.PLPrincipal.Unsandboxed
- All Implemented Interfaces:
Serializable
,Principal
- Enclosing class:
PLPrincipal
Java
Principal
representing a PostgreSQL
PROCEDURAL LANGUAGE
that was declared without the
TRUSTED
keyword, and can be used to declare new functions only
by a PostgreSQL superuser.
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
ConstructorsConstructorDescriptionUnsandboxed
(String name) Construct an instance given its name inString
form.Construct an instance given its name already as anIdentifier.Simple
. -
Method Summary
-
Field Details
-
m_name
-
-
Constructor Details
-
Unsandboxed
Construct an instance given its name inString
form.The name will be parsed as described for
Identifier.Simple.fromJava
. -
Unsandboxed
Construct an instance given its name already as anIdentifier.Simple
.
-
-
Method Details
-
trust
ReturnsUNSANDBOXED
.- Specified by:
trust
in classPLPrincipal
-
equals
-
toString
-
hashCode
public int hashCode() -
getName
-