Java SaslServer getNegotiatedProperty() method with example

javax.security.sasl.SaslServer.getNegotiatedProperty() method Retrieves the negotiated property. This method can be called only after the authentication exchange has completed (i.e., when
isComplete() returns true); otherwise, an
IllegalStateException is thrown.

SaslServer getNegotiatedProperty() method Signature

Object getNegotiatedProperty(String propName)

Parameters:

propName – the property

Returns:

The value of the negotiated property. If null, the property was not negotiated or is not applicable to this mechanism.

Throws:

IllegalStateException – if this authentication exchange has not completed

javax.security.sasl.SaslServer.getNegotiatedProperty() method Implementation

Object getNegotiatedProperty(String propName){
}

SaslServer getNegotiatedProperty() method Example

package com.ehowtonow.javax.security.sasl.saslserver;

public class GetNegotiatedPropertyMethodExample {

	public static void main(String[] args) {

	}

}

Output


Ask your questions in eHowToNow Forum

Post your technical, non-technical doubts, questions in our site. Get answer as soon as possible, meanwhile you can help others by answering, unanswered questions.
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers

  1. Java JRootPane getGlassPane() method with example
  2. Java DatatypeConverter parseShort() method with example
  3. Java – SynthTableHeaderUI Class
  4. Java BasicToolBarUI setOrientation() method with example
  5. Java JapaneseDate getLong() method with example
  6. Java DynAnyOperations assign() method with example
  7. Java Adler32 update() method with example 1
  8. Java BigDecimal signum() method with example
  9. Java MetalLookAndFeel getDisabledIcon() method with example
  10. Java StyleConstants setFirstLineIndent() method with example
  11. Java JTable.DropLocation isInsertColumn() method with example
  12. Java TitledBorder getTitleColor() method with example
  13. Java GSSManager createName() method with example
  14. Java Files isSameFile() method with example
  15. Java ImageWriter canWriteRasters() method with example

Be the first to comment

Leave a Reply