code: @Api
  	public void setAuthentications(String token, List<Authentication> authentications) {
  		this.token = token;
  		this.authentications.clear();
  		if (null != authentications) {
  			for (Authentication auth : authentications) {
  				for (BaseAuthorization ba : auth.getAuthorizations()) {
  					if (ba instanceof AuthorizationNeedsWiring) {
  						((AuthorizationNeedsWiring) ba).wire(applicationContext);
  					}
  				}
  				this.authentications.add(auth);
  			}
  		}
  		userInfoInit();
  	}
docs: Set the token and authentications for this security context.
  <p/>
  This method can be overwritten to handle custom policies.
  
  @param token current token
  @param authentications authentications for token