jdbcRealm中加密身份验证

xml配置

    	
    	
    	
    
    
    
    	
    
    
    
    	
    
    
    
	
		
		
		
		
		
		
	


PasswordMatcher  cm =  (PasswordMatcher) myRealm.getCredentialsMatcher();
			String encPassword = cm.getPasswordService().encryptPassword(user.getPassword());


你可能感兴趣的:(shiro)