Package org.postgresql.gss
Class GssEncAction
java.lang.Object
org.postgresql.gss.GssEncAction
- All Implemented Interfaces:
PrivilegedAction<Exception>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGssEncAction
(PGStream pgStream, GSSCredential clientCredentials, String host, String user, String kerberosServerName, boolean useSpnego, boolean logServerErrorDetail) -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
hasSpnegoSupport
(GSSManager manager) run()
-
Field Details
-
LOGGER
-
pgStream
-
host
-
user
-
kerberosServerName
-
useSpnego
private final boolean useSpnego -
clientCredentials
-
logServerErrorDetail
private final boolean logServerErrorDetail
-
-
Constructor Details
-
GssEncAction
public GssEncAction(PGStream pgStream, GSSCredential clientCredentials, String host, String user, String kerberosServerName, boolean useSpnego, boolean logServerErrorDetail)
-
-
Method Details
-
hasSpnegoSupport
- Throws:
GSSException
-
run
- Specified by:
run
in interfacePrivilegedAction<Exception>
-