Examples of BackendPrincipalConfig


Examples of com.sun.appserv.management.config.BackendPrincipalConfig

      final String[]  principalNames  = smc.getPrincipalNames();
      final String[]  userGroupNames  = smc.getUserGroupNames();
     
      assert( principalNames != null || userGroupNames != null ) : "both principals and usergroups are null";
     
      final BackendPrincipalConfig    bpc = smc.getBackendPrincipalConfig();
      assert( bpc != null ) : "null BackendPrincipalConfig for " + JMXUtil.toString( Util.getExtra(smc).getObjectName() );
      final String    s   = bpc.getUserName();
      bpc.setUserName( s );
      final String    password    = bpc.getPassword();
      bpc.setPassword( password );
  }
View Full Code Here

Examples of com.sun.appserv.management.config.BackendPrincipalConfig

      final String[]  principalNames  = smc.getPrincipalNames();
      final String[]  userGroupNames  = smc.getUserGroupNames();
     
      assert( principalNames != null || userGroupNames != null ) : "both principals and usergroups are null";
     
      final BackendPrincipalConfig    bpc = smc.getBackendPrincipalConfig();
      assert( bpc != null );
      final String    s   = bpc.getUserName();
      bpc.setUserName( s );
      final String    password    = bpc.getPassword();
      bpc.setPassword( password );
  }
View Full Code Here

Examples of com.sun.appserv.management.config.BackendPrincipalConfig

        }else{
            handlerCtx.setOutputValue("hasUserGroups", true);
            handlerCtx.setOutputValue("principals", "");
        }
       
        BackendPrincipalConfig bpc = securityMap.getBackendPrincipalConfig();
        if (bpc != null){
            handlerCtx.setOutputValue("userName", bpc.getUserName());
            handlerCtx.setOutputValue("password", bpc.getPassword());
        }
    }
View Full Code Here

Examples of com.sun.appserv.management.config.BackendPrincipalConfig

            }else{
                for(int i=0; i<str.length; i++)
                    securityMap.createUserGroup(str[i]);
            }

            BackendPrincipalConfig bpc = securityMap.getBackendPrincipalConfig();
            if (bpc != null){
                bpc.setUserName(userName);
                bpc.setPassword(password);
            }
        }catch(Exception ex){
            GuiUtil.handleException(handlerCtx, ex);
        }
       
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.