| | |
| | | * @param <T> The type of configuration handled by this SASL |
| | | * mechanism handler. |
| | | */ |
| | | @org.opends.server.types.PublicAPI( |
| | | stability=org.opends.server.types.StabilityLevel.VOLATILE, |
| | | mayInstantiate=false, |
| | | mayExtend=true, |
| | | mayInvoke=false) |
| | | public abstract class SASLMechanismHandler |
| | | <T extends SASLMechanismHandlerCfg> |
| | | { |
| | |
| | | * with names of mechanisms for which this |
| | | * handler has previously registered. |
| | | * |
| | | * @return <CODE>true</CODE> if this SASL mechanism is |
| | | * password-based, or <CODE>false</CODE> if it uses some |
| | | * other form of credentials. |
| | | * @return {@code true} if this SASL mechanism is password-based, |
| | | * or {@code false} if it uses some other form of |
| | | * credentials. |
| | | */ |
| | | public abstract boolean isPasswordBased(String mechanism); |
| | | |
| | |
| | | * with names of mechanisms for which this |
| | | * handler has previously registered. |
| | | * |
| | | * @return <CODE>true</CODE> if this SASL mechanism should be |
| | | * considered secure, or <CODE>false</CODE> if not. |
| | | * @return {@code true} if this SASL mechanism should be considered |
| | | * secure, or {@code false} if not. |
| | | */ |
| | | public abstract boolean isSecure(String mechanism); |
| | | } |