All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.frameworkset.platform.security.authentication.ResourcesMgr Maven / Gradle / Ivy

package com.frameworkset.platform.security.authentication;

public class ResourcesMgr {

	public ResourcesMgr() {
		// TODO Auto-generated constructor stub
	}

	public static String getString(String string) {
		if(string == null)
			return "";
		return string;
//		else if(string.equals("Invalid null input: name"))
//		{
//			return "name属性为空!";
//		}
//		else if(string.equals("invalid null Subject provided"))
//		{
//			return "name属性为空!";
//		}
//		else if(string.equals("null subject - logout called before login"))
//		{
//			return "name属性为空!";
//		}
//		else if(string.equals("invalid null CallbackHandler provided"))
//		{
//			return "name属性为空!";
//		}
//		else if(string.equals("unable to find LoginModule class"))
//		{
//			return "name属性为空!";
//		}
//		else if(string.equals("unable to access LoginModule:"))
//		{
//			return "name属性为空!";
//		}
//		else if(string.equals("Login Failure: all modules ignored"))
//		{
//			return "name属性为空!";
//		}
//		else if(string.equals("unable to instantiate LoginModule")) 
//		
//			
//		{
//			return "name属性为空!";
//		}
//		return string;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy