public static Issuer createIssuer(String entityID) throws SAML2Exception {
  String method="createIssuer: ";
  Issuer issuer=assertionFactory.createIssuer();
  issuer.setValue(entityID);
  if (debug.messageEnabled()) {
    debug.message(method + "Issuer : " + issuer.toXMLString());
  }
  return issuer;
}

public static Issuer createIssuer ( String entityID ) throws SAML2Exception { String method = "createIssuer: " ; Issuer issuer = assertionFactory . createIssuer ( ) ; issuer . setValue ( entityID ) ; if ( debug . messageEnabled ( ) ) { debug . message ( method + "Issuer : " + issuer . toXMLString ( ) ) ; } return issuer ; }
returns url for redirection .
