* The new configuration to use.
* @return A string representing the quality-of-protection.
*/
private String getQOP(GSSAPISASLMechanismHandlerCfg configuration)
{
QualityOfProtection QOP = configuration.getQualityOfProtection();
if (QOP.equals(QualityOfProtection.CONFIDENTIALITY))
return "auth-conf";
else if (QOP.equals(QualityOfProtection.INTEGRITY))
return "auth-int";
else
return "auth";
}