Package org.jboss.jca.as.converters.wls.api.metadata

Examples of org.jboss.jca.as.converters.wls.api.metadata.SecurityWorkContext


  
   private void transformSecurity(LegacyConnectionFactoryImp lcf, WeblogicConnector ra) throws Exception
   {
      if (ra == null || ra.getSecurity() == null || ra.getSecurity().getSecurityWorkContext() == null)
         return;
      SecurityWorkContext swc = ra.getSecurity().getSecurityWorkContext();

      boolean mappingRequired = swc.getInboundMappingRequired();
     
      String defaultPrincipal = swc.getCallerPrincipalDefaultMapped().getPrincipalName();
      Map<String, String> userMappings = new HashMap<String, String>();
      for (InboundCallerPrincipalMapping icpm : swc.getCallerPrincipalMapping())
      {
         userMappings.put(icpm.getEisCallerPrincipal(), icpm.getMappedCallerPrincipal().getPrincipalName());
      }
     
      List<String> defaultGroups = new ArrayList<String>();
      defaultGroups.add(swc.getGroupPrincipalDefaultMapped());
      Map<String, String> groupMappings = new HashMap<String, String>();
      for (InboundGroupPrincipalMapping igpm : swc.getGroupPrincipalMapping())
      {
         groupMappings.put(igpm.getEisGroupPrincipal(), igpm.getMappedGroupPrincipal());
      }
     
      WorkManagerSecurityImpl wmsImpl = new WorkManagerSecurityImpl(mappingRequired, "FIXME", defaultPrincipal,
View Full Code Here


   {
      //AnonPrincipal dpn = null;
      //AnonPrincipal mapn = null;
      //AnonPrincipalCaller rapn = null;
      //AnonPrincipalCaller rwapn = null;
      SecurityWorkContext swc = null;
           
      while (reader.hasNext())
      {
         switch (reader.nextTag())
         {
View Full Code Here

   {
      //AnonPrincipal dpn = null;
      //AnonPrincipal mapn = null;
      //AnonPrincipalCaller rapn = null;
      //AnonPrincipalCaller rwapn = null;
      SecurityWorkContext swc = null;
           
      while (reader.hasNext())
      {
         switch (reader.nextTag())
         {
View Full Code Here

  
   private void transformSecurity(LegacyConnectionFactoryImp lcf, WeblogicConnector ra) throws Exception
   {
      if (ra == null || ra.getSecurity() == null || ra.getSecurity().getSecurityWorkContext() == null)
         return;
      SecurityWorkContext swc = ra.getSecurity().getSecurityWorkContext();

      boolean mappingRequired = swc.getInboundMappingRequired();
     
      String defaultPrincipal = swc.getCallerPrincipalDefaultMapped().getPrincipalName();
      Map<String, String> userMappings = new HashMap<String, String>();
      for (InboundCallerPrincipalMapping icpm : swc.getCallerPrincipalMapping())
      {
         userMappings.put(icpm.getEisCallerPrincipal(), icpm.getMappedCallerPrincipal().getPrincipalName());
      }
     
      List<String> defaultGroups = new ArrayList<String>();
      defaultGroups.add(swc.getGroupPrincipalDefaultMapped());
      Map<String, String> groupMappings = new HashMap<String, String>();
      for (InboundGroupPrincipalMapping igpm : swc.getGroupPrincipalMapping())
      {
         groupMappings.put(igpm.getEisGroupPrincipal(), igpm.getMappedGroupPrincipal());
      }
     
      WorkManagerSecurityImpl wmsImpl = new WorkManagerSecurityImpl(mappingRequired, "FIXME", defaultPrincipal,
View Full Code Here

   {
      AnonPrincipal dpn = null;
      AnonPrincipal mapn = null;
      AnonPrincipalCaller rapn = null;
      AnonPrincipalCaller rwapn = null;
      SecurityWorkContext swc = null;
           
      while (reader.hasNext())
      {
         switch (reader.nextTag())
         {
View Full Code Here

TOP

Related Classes of org.jboss.jca.as.converters.wls.api.metadata.SecurityWorkContext

Copyright © 2018 www.massapicom. 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.