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 LineBorder isBorderOpaque() method with example
  2. Java BasicTableHeaderUI.MouseInputHandler mousePressed() method with example
  3. Java Pattern compile() method with example 1
  4. Java DocumentationTool.Location isOutputLocation() method with example
  5. Java AbstractQueuedSynchronizer hasQueuedPredecessors() method with example
  6. Java – MBeanFeatureInfo Class
  7. Java ObjectHelper id() method with example
  8. Java Path2D transform() method with example
  9. Java PKIXParameters getInitialPolicies() method with example
  10. Java PreparedStatement clearParameters() method with example
  11. Java ScriptContext getReader() method with example
  12. Java LayerUI getPropertyChangeListeners() method with example 1
  13. Java CalendarDataProvider getFirstDayOfWeek() method with example
  14. Java – StyledEditorKit.UnderlineAction Class
  15. Java AsyncBoxView loadChildren() method with example

Be the first to comment

Leave a Reply