Depends on the materials - a good epoxy may well work but adhesion to metal and glass is not always good against sideways forces. You might consider clear silicone sealant - the bath sealer stuff - I stick stainless steel sheet to plaster walls with it - very permanent.
Peccavi, April 2009