Class ExternalSaslServerFactory

  • All Implemented Interfaces:
    javax.security.sasl.SaslServerFactory

    public final class ExternalSaslServerFactory
    extends java.lang.Object
    implements javax.security.sasl.SaslServerFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] NAMES  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExternalSaslServerFactory​(java.security.Principal peerPrincipal)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.security.sasl.SaslServer createSaslServer​(java.lang.String mechanism, java.lang.String protocol, java.lang.String serverName, java.util.Map<java.lang.String,​?> props, javax.security.auth.callback.CallbackHandler cbh)  
      java.lang.String[] getMechanismNames​(java.util.Map<java.lang.String,​?> props)  
      • Methods inherited from class java.lang.Object

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

      • NAMES

        public static final java.lang.String[] NAMES
    • Constructor Detail

      • ExternalSaslServerFactory

        public ExternalSaslServerFactory​(java.security.Principal peerPrincipal)
    • Method Detail

      • createSaslServer

        public javax.security.sasl.SaslServer createSaslServer​(java.lang.String mechanism,
                                                               java.lang.String protocol,
                                                               java.lang.String serverName,
                                                               java.util.Map<java.lang.String,​?> props,
                                                               javax.security.auth.callback.CallbackHandler cbh)
                                                        throws javax.security.sasl.SaslException
        Specified by:
        createSaslServer in interface javax.security.sasl.SaslServerFactory
        Throws:
        javax.security.sasl.SaslException
      • getMechanismNames

        public java.lang.String[] getMechanismNames​(java.util.Map<java.lang.String,​?> props)
        Specified by:
        getMechanismNames in interface javax.security.sasl.SaslServerFactory