| | |
| | | public void initializeSASLMechanismHandler(ConfigEntry configEntry) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | |
| | | |
| | | this.configEntryDN = configEntry.getDN(); |
| | | |
| | | |
| | |
| | | @Override() |
| | | public void finalizeSASLMechanismHandler() |
| | | { |
| | | |
| | | DirectoryServer.deregisterConfigurableComponent(this); |
| | | DirectoryServer.deregisterSASLMechanismHandler(SASL_MECHANISM_EXTERNAL); |
| | | } |
| | |
| | | @Override() |
| | | public void processSASLBind(BindOperation bindOperation) |
| | | { |
| | | |
| | | |
| | | // Get the client connection used for the bind request, and get the |
| | | // security manager for that connection. If either are null, then fail. |
| | | ClientConnection clientConnection = bindOperation.getClientConnection(); |
| | |
| | | */ |
| | | public DN getConfigurableComponentEntryDN() |
| | | { |
| | | |
| | | return configEntryDN; |
| | | } |
| | | |
| | |
| | | */ |
| | | public List<ConfigAttribute> getConfigurationAttributes() |
| | | { |
| | | |
| | | |
| | | LinkedList<ConfigAttribute> attrList = new LinkedList<ConfigAttribute>(); |
| | | |
| | | int msgID = MSGID_SASLEXTERNAL_DESCRIPTION_VALIDATION_POLICY; |
| | |
| | | public boolean hasAcceptableConfiguration(ConfigEntry configEntry, |
| | | List<String> unacceptableReasons) |
| | | { |
| | | |
| | | |
| | | // Look at the validation policy configuration. |
| | | int msgID = MSGID_SASLEXTERNAL_DESCRIPTION_VALIDATION_POLICY; |
| | | MultiChoiceConfigAttribute validateStub = |
| | |
| | | public ConfigChangeResult applyNewConfiguration(ConfigEntry configEntry, |
| | | boolean detailedResults) |
| | | { |
| | | |
| | | |
| | | ResultCode resultCode = ResultCode.SUCCESS; |
| | | boolean adminActionRequired = false; |
| | | ArrayList<String> messages = new ArrayList<String>(); |
| | |
| | | @Override() |
| | | public boolean isPasswordBased(String mechanism) |
| | | { |
| | | |
| | | // This is not a password-based mechanism. |
| | | return false; |
| | | } |
| | |
| | | @Override() |
| | | public boolean isSecure(String mechanism) |
| | | { |
| | | |
| | | // This may be considered a secure mechanism. |
| | | return true; |
| | | } |