Class GssAction

  • All Implemented Interfaces:
    java.security.PrivilegedAction<java.lang.Exception>, java.util.concurrent.Callable<java.lang.Exception>

    class GssAction
    extends java.lang.Object
    implements java.security.PrivilegedAction<java.lang.Exception>, java.util.concurrent.Callable<java.lang.Exception>
    • Constructor Summary

      Constructors 
      Constructor Description
      GssAction​(PGStream pgStream, javax.security.auth.Subject subject, 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
      java.lang.Exception call()  
      private static boolean hasSpnegoSupport​(org.ietf.jgss.GSSManager manager)  
      java.lang.Exception run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        private static final java.util.logging.Logger LOGGER
      • pgStream

        private final PGStream pgStream
      • host

        private final java.lang.String host
      • kerberosServerName

        private final java.lang.String kerberosServerName
      • user

        private final java.lang.String user
      • useSpnego

        private final boolean useSpnego
      • subject

        private final javax.security.auth.Subject subject
      • logServerErrorDetail

        private final boolean logServerErrorDetail
    • Constructor Detail

      • GssAction

        GssAction​(PGStream pgStream,
                  javax.security.auth.Subject subject,
                  java.lang.String host,
                  java.lang.String user,
                  java.lang.String kerberosServerName,
                  boolean useSpnego,
                  boolean logServerErrorDetail)
    • Method Detail

      • hasSpnegoSupport

        private static boolean hasSpnegoSupport​(org.ietf.jgss.GSSManager manager)
                                         throws org.ietf.jgss.GSSException
        Throws:
        org.ietf.jgss.GSSException
      • run

        public java.lang.Exception run()
        Specified by:
        run in interface java.security.PrivilegedAction<java.lang.Exception>
      • call

        public java.lang.Exception call()
                                 throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Exception>
        Throws:
        java.lang.Exception