public String getFor ( String personalIdentificationNumber ) { for ( RedirectUrl redirectUrl : urls ) { if ( redirectUrl . signer . equals ( personalIdentificationNumber ) ) { return redirectUrl . url ; } } throw new IllegalArgumentException ( "Unable to find redirect URL for this signer" ) ; }
Gets the redirect URL for a given signer .