Package org.sonatype.nexus.component.source.api.http

Examples of org.sonatype.nexus.component.source.api.http.AuthenticationConfigMarshaller.toMap()


                                   final String prefix)
  {
    if (authenticationConfig != null) {
      AuthenticationConfigMarshaller marshaller = authenticationConfigMarshallers.get(authenticationConfig.getType());
      if (marshaller != null) {
        Map<String, Object> authMap = checkNotNull(marshaller.toMap(authenticationConfig), "configuration map");
        putIfNotNull(configMap, prefix + ".authentication.type", authenticationConfig.getType());
        for (Entry<String, Object> entry : authMap.entrySet()) {
          putIfNotNull(configMap, prefix + ".authentication." + entry.getKey(), entry.getValue());
        }
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.