@Override
	public void check() throws JMSException
    {
	    if (StringTools.isEmpty(name))
	        throw new InvalidDescriptorException("Missing user name in security descriptor");
	    if (password == null)
	        throw new InvalidDescriptorException("Missing password definition for user "+name);
    }
@ Override public void check ( ) throws JMSException { if ( StringTools . isEmpty ( name ) ) throw new InvalidDescriptorException ( "Missing user name in security descriptor" ) ; if ( password == null ) throw new InvalidDescriptorException ( "Missing password definition for user " + name ) ; }
/*
(non-Javadoc)
@see net.timewalker.ffmq4.utils.Checkable#check()