Examples of runAs()


Examples of org.jboss.soa.esb.services.security.SecurityConfig.Builder.runAs()

  public static SecurityConfig createSecurityConfig(final ConfigTree securityFragment)
  {
    final String moduleName = securityFragment.getAttribute(ListenerTagNames.MODULE_NAME_TAG);

    Builder builder = new SecurityConfig.Builder(moduleName);
    builder.runAs(securityFragment.getAttribute(ListenerTagNames.RUN_AS_TAG));
    builder.useCallerIdentity(securityFragment.getAttribute(ListenerTagNames.USE_CALLERS_IDENTIDY_TAG));
    builder.rolesAllowed(securityFragment.getAttribute(ListenerTagNames.ROLES_ALLOWED));
    builder.callBackhandler(securityFragment.getAttribute(ListenerTagNames.CALLBACK_HANDLER_TAG));

    ConfigTree[] children = securityFragment.getChildren("property");
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.