@Override
	public void afterPropertiesSet() {
		Assert.hasLength(key, "key must have length");
		Assert.notNull(principal, "Anonymous authentication principal must be set");
		Assert.notNull(authorities, "Anonymous authorities must be set");
	}
@ Override public void afterPropertiesSet ( ) { Assert . hasLength ( key , "key must have length" ) ; Assert . notNull ( principal , "Anonymous authentication principal must be set" ) ; Assert . notNull ( authorities , "Anonymous authorities must be set" ) ; }
========================================================================================================