public void addHardTokenIssuer(String alias, int admingroupid) throws HardTokenIssuerExistsException, RemoteException{ Iterator iter = this.informationmemory.getHardTokenIssuingAdminGroups().iterator(); while(iter.hasNext()){ if(((AdminGroup) iter.next()).getAdminGroupId() == admingroupid){ if(!hardtokensession.addHardTokenIssuer(admin, alias, admingroupid, new HardTokenIssuer())) throw new HardTokenIssuerExistsException(); informationmemory.hardTokenDataEdited(); } }
public void addHardTokenIssuer(String alias, int admingroupid) throws HardTokenIssuerExistsException { Iterator iter = this.informationmemory.getHardTokenIssuingAdminGroups().iterator(); while(iter.hasNext()){ if(((AdminGroup) iter.next()).getAdminGroupId() == admingroupid){ if(!hardtokensession.addHardTokenIssuer(admin, alias, admingroupid, new HardTokenIssuer())) throw new HardTokenIssuerExistsException(); informationmemory.hardTokenDataEdited(); } }
    public void addHardTokenIssuer(String alias, int admingroupid) throws HardTokenIssuerExistsException, RemoteException{      Iterator iter = this.informationmemory.getHardTokenIssuingAdminGroups().iterator();      while(iter.hasNext()){      	if(((AdminGroup) iter.next()).getAdminGroupId() == admingroupid){			if(!hardtokensession.addHardTokenIssuer(admin, alias, admingroupid, new HardTokenIssuer()))			  throw new HardTokenIssuerExistsException();			informationmemory.hardTokenDataEdited();      		      	}      }          }