Package org.postgresql.gss
Class GssEncAction
- java.lang.Object
-
- org.postgresql.gss.GssEncAction
-
- All Implemented Interfaces:
java.security.PrivilegedAction<java.lang.Exception>
public class GssEncAction extends java.lang.Object implements java.security.PrivilegedAction<java.lang.Exception>
-
-
Field Summary
Fields Modifier and Type Field Description private org.ietf.jgss.GSSCredentialclientCredentialsprivate java.lang.Stringhostprivate java.lang.StringkerberosServerNameprivate static java.util.logging.LoggerLOGGERprivate booleanlogServerErrorDetailprivate PGStreampgStreamprivate java.lang.Stringuserprivate booleanuseSpnego
-
Constructor Summary
Constructors Constructor Description GssEncAction(PGStream pgStream, org.ietf.jgss.GSSCredential clientCredentials, java.lang.String host, java.lang.String user, java.lang.String kerberosServerName, boolean useSpnego, boolean logServerErrorDetail)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static booleanhasSpnegoSupport(org.ietf.jgss.GSSManager manager)java.lang.Exceptionrun()
-
-
-
Field Detail
-
LOGGER
private static final java.util.logging.Logger LOGGER
-
pgStream
private final PGStream pgStream
-
host
private final java.lang.String host
-
user
private final java.lang.String user
-
kerberosServerName
private final java.lang.String kerberosServerName
-
useSpnego
private final boolean useSpnego
-
clientCredentials
private final org.ietf.jgss.GSSCredential clientCredentials
-
logServerErrorDetail
private final boolean logServerErrorDetail
-
-
Constructor Detail
-
GssEncAction
public GssEncAction(PGStream pgStream, org.ietf.jgss.GSSCredential clientCredentials, java.lang.String host, java.lang.String user, java.lang.String kerberosServerName, boolean useSpnego, boolean logServerErrorDetail)
-
-