| | |
| | | public void initializeSASLMechanismHandler(ConfigEntry configEntry) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | |
| | | |
| | | this.configEntryDN = configEntry.getDN(); |
| | | |
| | | |
| | |
| | | @Override() |
| | | public void finalizeSASLMechanismHandler() |
| | | { |
| | | |
| | | DirectoryServer.deregisterConfigurableComponent(this); |
| | | DirectoryServer.deregisterSASLMechanismHandler(SASL_MECHANISM_PLAIN); |
| | | } |
| | |
| | | @Override() |
| | | public void processSASLBind(BindOperation bindOperation) |
| | | { |
| | | |
| | | |
| | | // Get the SASL credentials provided by the user and decode them. |
| | | String authzID = null; |
| | | String authcID = null; |
| | |
| | | */ |
| | | public DN getConfigurableComponentEntryDN() |
| | | { |
| | | |
| | | return configEntryDN; |
| | | } |
| | | |
| | |
| | | */ |
| | | public List<ConfigAttribute> getConfigurationAttributes() |
| | | { |
| | | |
| | | |
| | | LinkedList<ConfigAttribute> attrList = new LinkedList<ConfigAttribute>(); |
| | | |
| | | int msgID = MSGID_SASLPLAIN_DESCRIPTION_IDENTITY_MAPPER_DN; |
| | |
| | | public boolean hasAcceptableConfiguration(ConfigEntry configEntry, |
| | | List<String> unacceptableReasons) |
| | | { |
| | | |
| | | |
| | | // Look at the identity mapper configuration. |
| | | int msgID = MSGID_SASLPLAIN_DESCRIPTION_IDENTITY_MAPPER_DN; |
| | | DNConfigAttribute mapperStub = |
| | |
| | | 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 a password-based mechanism. |
| | | return true; |
| | | } |
| | |
| | | @Override() |
| | | public boolean isSecure(String mechanism) |
| | | { |
| | | |
| | | // This is not a secure mechanism. |
| | | return false; |
| | | } |