code: public void setAuthorizations(BaseAuthorization[] authorizations) {
  		BaseAuthorization ba = null;
  		try {
  			this.authorizations = new byte[authorizations.length][];
  			for (int i = 0; i < authorizations.length; i++) {
  				ba = authorizations[i];
  				ByteArrayOutputStream baos = new ByteArrayOutputStream(256);
  				JBossObjectOutputStream serialize = new JBossObjectOutputStream(baos);
  				serialize.writeObject(ba);
  				serialize.flush();
  				serialize.close();
  				this.authorizations[i] = baos.toByteArray();
  			}
  		} catch (IOException ioe) {
  			Logger log = LoggerFactory.getLogger(SavedAuthenticationImpl.class);
  			log.error("Could not serialize " + ba + ", may cause rights to be lost.", ioe);
  		}
  	}
docs: Set the {@link org.geomajas.security.Authorization}s which apply for this authentication.
  They are included here in serialized form.
  
  @param authorizations array of authentications