Code example for XmlBeanFactory

Methods: getBean

0
    } 
 
    @Test
    public void testGroupMapFromSpring() { 
        Map<String, GroupConfig> mossoGroupMap;
        mossoGroupMap = (Map<String, GroupConfig>) bf.getBean("mossoGroupMap");
        nop(); 
    } 
 
    private String encryptPasswd(String passwd) throws GeneralSecurityException {
        return Aes.b64encrypt(passwd.getBytes(), "mossoFailure");
    } 
 
    private String decryptPasswd(String base64str) throws GeneralSecurityException {
        byte[] ptext = Aes.b64decrypt(base64str, "mossoFailure");
        return Aes.bytes2str(ptext);
    } 
 
    private MossoAuth loadFromSpring() { 
        MossoAuth springMossoAuth;